Skip to content
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 tracker] - Fix some location tracking issues #5913

Closed
mnaturel opened this issue May 3, 2022 · 0 comments · Fixed by #5923
Closed

[Location tracker] - Fix some location tracking issues #5913

mnaturel opened this issue May 3, 2022 · 0 comments · Fixed by #5923
Assignees
Labels
A-Location T-Enhancement New features, changes in functionality, performance boosts, user-facing improvements

Comments

@mnaturel
Copy link
Contributor

mnaturel commented May 3, 2022

Your use case

What would you like to do?

Issues to fix :

  • At start, use the latest known location of all available providers to avoid inconsistencies
  • Prioritize locations received from the providers in the following order: “Fused”, “GPS”, other providers
  • Debounce the location updates to avoid sending too many events
  • Avoid calling callback for provider not available when only one of them is disabled (should be called only when all providers are disabled)

Why would you like to do it?

Using the last known location from all providers leads to notification of multiple locations with different accuracy and uncorrect location tracking.

How would you like to achieve it?

Select the best last known location to notify callbacks.

Have you considered any alternatives?

No response

Additional context

No response

@mnaturel mnaturel added the T-Enhancement New features, changes in functionality, performance boosts, user-facing improvements label May 3, 2022
@mnaturel mnaturel self-assigned this May 3, 2022
@mnaturel mnaturel changed the title [Location tracker] - Avoid using multiple providers [Location tracker] - Use last known location of the best provider May 3, 2022
@mnaturel mnaturel changed the title [Location tracker] - Use last known location of the best provider [Location tracker] - Fix some location tracking issues Jun 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Location T-Enhancement New features, changes in functionality, performance boosts, user-facing improvements
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant