-
Notifications
You must be signed in to change notification settings - Fork 425
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
location tracking only works when the app is in the foreground, with no updates in the background #2191
Comments
Without the Motion API to determine when the device is moving, you are relying only upon a geofence around the last known position to determine when the device is moving. Why are you disabling the Motion API? You'll have much better performance if you don't disable that. |
Hello @christocracy I have enable the Motion API, and Testing still not working, we can't change anything in code for BackgroundGeolocation file since last 2 month and it's working fine before, Is there any way to debug ? |
Logs. I need logs. |
This issue is stale because it has been open for 30 days with no activity. |
I am also experiencing the same, in the background there are no http events or batch updates, in the foreground, even with autoSync threshold set to 10 and batchSync set to true, the http batch events log only one location at a time. |
Logs… |
This issue is stale because it has been open for 30 days with no activity. |
This issue was closed because it has been inactive for 14 days since being marked as stale. |
Your Environment
react-native -v
): 0.72.2Expected Behavior
The background location tracking feature was working as expected before this issue began.
Actual Behavior
Background location tracking is not functioning; only foreground location updates are being received.
Steps to Reproduce
2.Confirmed no recent changes to the location-related code
Context
Debug logs
Logs
The text was updated successfully, but these errors were encountered: