1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 01:36:22 +00:00

Merge pull request #857 from BoostIO/feature-ama-event-main-focused

add MAIN_FOCUSED event
This commit is contained in:
SuenagaRyota
2017-09-16 10:57:08 +09:00
committed by GitHub

View File

@@ -18,9 +18,10 @@ function initAwsMobileAnalytics () {
AWS.config.credentials.get((err) => {
if (!err) {
console.log('Cognito Identity ID: ' + AWS.config.credentials.identityId)
recordDynamicCustomEvent('APP_STARTED')
recordStaticCustomEvent()
}
})
recordStaticCustomEvent()
}
function recordDynamicCustomEvent (type) {