Open
Description
- I installed the app from the playstore.
- I registered.
- I clicked on the 'Hello World'. I turned on the toggle on the top right corner. Then background geolocation is started.
- I go to Home, then
- I come back to 'Hello World'. The toggle button is in off. Does this mean the Background geoloaction is turned off.
Activity
rajesh99 commentedon Jan 3, 2020
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
rajesh99 commentedon Jan 4, 2020
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.
christocracy commentedon Jan 4, 2020
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”.