pmwisdom/cordova-background-geolocation-services

How to Handle Android 'Don't Keep Activities'? if enabled.

Opened this issue · 1 comments

When my Android phone's Developer Option -> Don't keep activities is disabled this plugin works exaclty as said, but when I enable 'Don't keep activities' It stops tracking as I leave App.
How should I handle this situation?
Thanks

@DeepikaKochar This is something I haven't tested out. I'm guessing your running into an issue because useActivityDetection is true in your config and your disabling it in dev options. If you set useActivityDetection to false i'm assuming it'll start working like normal. Thanks for bringing to my attention.