1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-14 02:06:29 +00:00

change the event name for app start from MAIN_FOCUSED to APP_STARTED

This commit is contained in:
Sosuke Suzuki
2017-09-15 00:23:31 +09:00
parent 66f3ce2cb2
commit a62faa471c

View File

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