Vishu
Vishu

Reputation: 35

Engagement Time Calculation When App Is In Background

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????

Upvotes: 0

Views: 727

Answers (1)

Doug Stevenson
Doug Stevenson

Reputation: 317372

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.

Upvotes: 1

Related Questions