background tracking not working
See original GitHub issuei’m trying to use the background tracking. I don’t have any errors, but the javascript callback is not called (probably this is normale when app is in background) but also the http post request is not called.
i’ve configured it like this:
window.backgroundGeolocation.configure(
watchPositionSuccessCallback,
watchPositionErrorCallback,
{
desiredAccuracy: 0,
interval: 10,
activityType: 'AutomotiveNavigation',
notificationTitle: 'My App',
notificationText: 'My Text',
url: api_domain+'/orders/'+order_uuid+'/route',
httpHeaders: {
'Authorization': sessionStorage.getItem('http_auth')
},
pauseLocationUpdates: false,
}
);
$scope.startBackgroundGeolocation();
at least I should receive an HTTP POST on my server, but this doesn’t happen.
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (1 by maintainers)
Top Results From Across the Web
Android background GPS tracking not working? - WooDelivery
Android background GPS tracking not working? · Step 1 – Enable background location tracking · Step 2 – Disable battery optimization, and turn...
Read more >Background tracking is not working on (all) real devices #115
Background tracking in not send any data to the url when app is running in background, get killed, or when device reboot. The...
Read more >reactjs - Background location tracking not working in apk but ...
Actually I'm developing an app in react native which requires background location access it's working fine in debug mode but ...
Read more >App is not Tracking Properly when Running in the Background
Go to Settings > General > Background App Refresh. Turn this option ON and make sure the Navionics app has access when running...
Read more >Background tracking not updating location when app is ...
I have an app which frequently need to update the location of the user every 15 minutes. App works fine when it is...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, this plugin is unusable.
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.