1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

add MAIN_FOCUSED event

This commit is contained in:
Sosuke Suzuki
2017-09-12 19:43:59 +09:00
parent bb26d9a0a8
commit 66f3ce2cb2

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('MAIN_FOCUSED')
recordStaticCustomEvent()
}
})
recordStaticCustomEvent()
}
function recordDynamicCustomEvent (type) {