-
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
Background Location Traking is not working after phone restart. #2043
Comments
Unlock the phone after restart. Go outside for a walk of at least 200 meters. |
I have restarted the phone and unclocked it. Then i have drived for 5 kilometers but background location tracking didnt start working. I have also used "Mock Locations" application but background location tracking didt start. |
The plug-in doesn’t engage from a mock location app. The issue template asked you for device model. You don’t provide it. |
Don’t use reset: false if you don’t know what it does. 99% of users should not use that. |
My device model is Infinix X682B |
See wiki “Debugging”. Learn to fetch plug-in logs using .emailLog. |
ok |
We have installed the app on five different phones and restarted each one. We then drove for more than 6 kilometers, but the background location tracking did not start. Additionally, we walked around 1 kilometer, but the background location tracking still did not activate. This feature is essential for our needs, and we require it as soon as possible. Could you please provide a solution or suggest a workaround? |
See wiki “Debugging”. Learn to fetch plug-in logs via .emailLog method. I’m fieldtesting daily with a variety of phones almost daily for 9 years. I experience no issues. did you follow the directions and modify de ice settings according to https://dontkillmyapp.com? |
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
Plugin config
const state:State = await BackgroundGeolocation.ready({ // Debug reset: false, debug: true, logLevel: BackgroundGeolocation.LOG_LEVEL_VERBOSE, transistorAuthorizationToken: token, // Geolocation desiredAccuracy: BackgroundGeolocation.DESIRED_ACCURACY_HIGH, distanceFilter: 5, stopTimeout: 10, // Permissions locationAuthorizationRequest: 'Always', backgroundPermissionRationale: { title: "Allow {applicationName} to access this device's location even when closed or not in use.", message: "This app collects location data to enable recording your trips to work and calculate distance-travelled.", positiveAction: 'Change to "{backgroundPermissionOptionLabel}"', negativeAction: 'Cancel' }, // HTTP & Persistence autoSync: true, maxDaysToPersist: 14, // Application stopOnTerminate: false, startOnBoot: true, enableHeadless: true });
Expected Behavior
Background location tracking should start working automatically when I restart phone.
Actual Behavior
Background location tracking is not working after phone restart
Steps to Reproduce
I am using demo app for react native.
The text was updated successfully, but these errors were encountered: