mixpanel-unity icon indicating copy to clipboard operation
mixpanel-unity copied to clipboard

Are events flushed on OnApplicationPause/OnApplicationQuit reliable?

Open tomkail opened this issue 2 years ago • 0 comments

Hi! We're defining sessions manually by using StartTimedEvent when the application gains focus, and then calling Track and Flush when the app loses focus or is closed, using OnApplicationPause and OnApplicationQuit. We've had a few instances of our sessions not ending. Our best guess right now is that the approach described isn't reliable. Is Flushing OnApplicationQuit guaranteed to work? Thanks!

tomkail avatar Jun 21 '23 08:06 tomkail