Background location fetching ends after 1 or 2 minutes. It does not turn the GPs on, or the tracking unless i go to the app screen again and again. It showing the 'Exit message' toas in 1- 2 minutes.
cordova -v): 7.0.1cordova platform ls):Installed platforms:desiredAccuracy: 0,
stationaryRadius: 1,
distanceFilter: 1,
debug: true,
interval: 10000 ,
stopOnTerminate: false,
It should continue work in the background, even if i turned off the screen, until i stops background tracking.
It shows the background tracking info even though the app is in foreground. It continue to show the toast messages after 1 minute till i exit from the app screen. After that most of the time it says stationary exit. The GPS signal is no longer in the navbar of my device.
1.
2.
3.
4.
Many others are having the same problem as well. This really sucks.
Try to put you app in "Protected Mode" for Huawei Devices, or as "Not Optimized" in other manufacturers. This says to Android not to close your App when then screen shuts down.
Notice: this issue has been closed because it has been reported for branch 2.x or later. It could be already fixed in v3 or is not relevant anymore. You may reopen this issue if it has been closed in error.
HI @mauron85 any news about this issue? Thanks' in advance
Have you tried any other provider than DISTANCE_FILTER? Try new RAW_PROVIDER, so we can isolate it to specific provider or plugin issue.
Most helpful comment
Many others are having the same problem as well. This really sucks.