capacitor-community / background-geolocation

A Capacitor plugin that sends you geolocation updates, even while the app is in the background.
MIT License
180 stars 56 forks source link

[Question] Is it possible to keep getting location updates when the app is closed? #26

Closed marsnebulasoup closed 3 years ago

marsnebulasoup commented 3 years ago

After some testing on Android it seems like the location updates are sent only as long as the app is open, though it doesn't have to be visible. I'm wondering if it is possible for the watcher to persist if the user, say, accidentally closes the app? Is this something already possible with this plugin, or would it have to be implemented?

Thanks

diachedelic commented 3 years ago

Hi @marsnebulasoup , I have tried to address this here.