Follow location during locked screen
vespucci-reporter opened this issue · comments
Description:
It will be a great feature if it could be possible for vespucci to continue to follow the user's location even if the screen phone is off.
So when the user swich on vespucci could show the current position and it could be possible to add quickly new POI.
Thanks for your great application
Device info:
App version | 19.2.0.0 |
App version code | 2601 |
Android build version | V13.0.16.0.SKFEUXM |
Android release version | 12 |
Android SDK version | 31 |
Android build ID | SKQ1.210908.001 test-keys |
Device brand | Redmi |
Device manufacturer | Xiaomi |
Device name | sweet |
Device model | M2101K6G |
Device product name | sweet_eea |
Device hardware name | qcom |
ABIs | [arm64-v8a, armeabi-v7a, armeabi] |
ABIs (32bit) | [armeabi-v7a, armeabi] |
ABIs (64bit) | [arm64-v8a] |
Extra info:
OSM display name | fredoh |
The current workaround is to record a GPS track (you can disable display of the layer if it disturbs you).
OK, thank you very much for your answer.
I try to record my GPS track, and lock my phone after starting recording.
When I unlock my phone, Vespucci find quickly my new position (after clicking on the "current position" button).
But the application doesn't follow the current location, when the screen is off.
This is why, in my screenshot, I show area, in the GPS track, when vespucci doesn't follow the locationwhen the screen is off.
thanks
The application is not necessarily running while the screen is off (what exactly happens will depend on a lot of things), it is quite possible that on your device it is being paused and will need a second or so to start and get the current position from the tracking service.