-
Notifications
You must be signed in to change notification settings - Fork 17
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
[Help Wanted]: Optimal Configuration for Background Location Tracking (Accuracy Similar to Strava/AllTrails) #304
Comments
Those apps have a You can do the same using the method await BackgroundGeoloction.start();
await BackgroundGeolocaiton.changePace(true); |
It's up to you to configure |
Thanks for your response. Our app tracks walks when the user clicks a "Start" button and we already use To clarify our issue occurs when:
We want the app to continue logging locations in the background after extended stationary periods, ensuring the route is complete without gaps. Tracking should seamlessly resume when the user starts moving again. Does the plugin support that? If so, how can we configure it for this behaviour? |
You're free to set It's up to you to present the user with a |
Thanks. I have a couple of follow-up questions:
What happens if we set |
No.
It obviously consumes more energy keeping location services ON. If that’s what you want, that’s fine. |
Thanks. I’ve been exploring how to use Context:I would like to track location updates with the following requirements:
Example:Here is an example of what I'm considering based on your documentation for DistanceFilter:
Questions:
|
|
Required Reading
Plugin Version
6.0.3
Mobile operating-system(s)
What do you require assistance about?
Optimal Configuration for Background Location Tracking (Accuracy Similar to Strava/AllTrails Mobile Apps)
Issue Description
We are using your Capacitor geolocation plugin and are trying to optimize our configuration to achieve tracking accuracy similar to mobile apps like Strava or AllTrails (not their companion devices like watches).
Current Issue
Our app tracks walks, but we’ve noticed that when a user is stationary for about 15 minutes and then starts moving again, the app stops recording new coordinates in the background. Later, when the app is reopened, tracking resumes, but we see a long straight line on the map from the last recorded location to the new one.
Screenshot 1: Our app (with tracking gap and straight line)
Screenshot 2: AllTrails (tracking properly in the background)
Desired Behavior
We would like the app to continue tracking movement even when in the background, ensuring a complete and accurate route is recorded without gaps.
Questions
[Optional] Plugin Code and/or Config
[Optional] Relevant log output
The text was updated successfully, but these errors were encountered: