Open rajesh99 opened 4 years ago
After turning on in the 'hello world' page and navigating away from the 'hello world' page, the location tracking is off. Is that correct? I want to test the plugin by navigating into other app pages and see how the locations are tracked
Can you make this change. Navigating away 'hello world', and still the background geolocation still should work. In this way, we have complete app that reflects the real world apps.
I can do it from my side locally, but, I don't have a hosted server to send the locations.
Hence this request.
The sample app explicitly call #stop when navigating to “Home” page. It would be trivial for you to clone this repo and modify the code to not call #stop, and install the app locally.
The plugin’s tracking and http service operates completely independently from react native later.
Even if you terminate the app, rather than “navigate away” from it, the plugin would continue recording and uploading locations to the server (because stopOnTerminate: false).
Terminating the app IS, in effect, “navigating away from the current screen”.