HaylLtd / cordova-background-geolocation-plugin

Background and foreground geolocation plugin for Cordova.
Apache License 2.0
57 stars 66 forks source link

Events won't fire after terminating and restarting the app #146

Open rainerholzapfel opened 1 year ago

rainerholzapfel commented 1 year ago

I don't know if this is a bug, but whith stopOnTerminate=false, after starting background geolocation and terminating/restarting the app, resubscribed events won't fire until I stop and start background geolocation again.

I tried this on Android 13.

HarelM commented 1 year ago

Might be a security hardening feature by Google... I personally won't expect them service to continue working if the app is killed considering all the latest changes Google did to limit background work of apps and location restrictions...