Engagement Time Calculation When App Is In Background

久未见 提交于 2019-12-13 04:18:15

问题


How to calculate engagement time whenever my app is in background. User engagement (firebase automatically collected event) calculate periodically, while the app is in the foreground. But how to add the time in user engagement when my app is in back ground. Or i need to instrument other event.. Any Idea????


回答1:


When your app is in the background, the user isn't "engaged" with it at all. With newer versions of Android, the OS may immediately kill your backgrounded app at any time without warning, so it's even more difficult to calculate a meaningful metric for background time. It seems to me that background time is a mostly meaningless metric, in terms of analytics. Background time has a use in Firebase Performance Monitoring, but app performance in this respect isn't the same as analytics.



来源:https://stackoverflow.com/questions/52307287/engagement-time-calculation-when-app-is-in-background

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!