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

GPS accuracy issues on android 12 #1679

Closed
HarelM opened this issue Jan 15, 2022 · 3 comments · Fixed by #1682
Closed

GPS accuracy issues on android 12 #1679

HarelM opened this issue Jan 15, 2022 · 3 comments · Fixed by #1682
Assignees
Labels
bug Critical Needs to be fix ASAP

Comments

@HarelM
Copy link
Member

HarelM commented Jan 15, 2022

Bug

What I expect to happen

GPS location should be as accurate as possible

What really happened

GPS location is not accurate and accuracy degrades if using another more accurate app.

What I did that caused the issue - step by step

  1. Start locating tracking
  2. Look at the blue circle

My environment

  • Operating System and version: Android 12
  • Web Browser and version: n/a

Things I think the developers should know, images, links etc.

This started after I upgraded my phone to android 12.
When I use the app without any other app the locating is not very good.
I used GPS test app to see if it gives better results.
When GPS test is active the accuracy is high. Also when using the browser. The problem is when this app is "alone".
The code for gps test can be found here:
https://github.com/barbeau/gpstest
I need to investigate using a simpler app than IHM.
The issue is also tracked here:
HaylLtd/cordova-background-geolocation-plugin#59

@HarelM
Copy link
Member Author

HarelM commented Jan 15, 2022

Might worth a read:
https://android-developers.googleblog.com/2020/12/improving-urban-gps-accuracy-for-your.html?m=1
Especially the fused location client

@HarelM HarelM added bug Critical Needs to be fix ASAP labels Jan 15, 2022
@HarelM HarelM self-assigned this Jan 15, 2022
@HarelM HarelM added this to the Next Release milestone Jan 15, 2022
@zstadler
Copy link
Member

Support emails related to this issue are labeled "GPS@Android12"

@HarelM
Copy link
Member Author

HarelM commented Jan 16, 2022

I've found the root cause of this issue. more info can be found in the plugin issue thread.
HaylLtd/cordova-background-geolocation-plugin#59

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Critical Needs to be fix ASAP
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants