pmwisdom / meteor-background-geolocation-services

Cordova Background Geolocation For Android and iOS with pure javascript callbacks
12 stars 12 forks source link

Stops working if the app is in the background for too long #11

Open gotjennie opened 6 years ago

gotjennie commented 6 years ago

I'm using this package and it works great when the app is in the foreground and soon after the app is in the background. If the app is in the background for too long however, location updates stop working. In order to get the location updates working again, I have to quit the app and reopen it.

I know with newer iOS versions, Apple has gotten more strict about location tracking. Should this package really allow me to track location with the app in the background as long as I want? Are there any caveats I should be aware of?

atomoc commented 5 years ago

https://github.com/katzer/cordova-plugin-background-mode