-
Notifications
You must be signed in to change notification settings - Fork 6
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
Android 13 Exact Location not working #5
Comments
What phones are these tested on? There are not any conditional statements between Android 11/13, so I doubt this is a bug with the code. Just a quick Google search, there are other people that have had previous issues with GPS on Android 13. You could also test other apps to see if you notice a difference as well. |
Hi, I tested it on a virtualized Google Pixel 5 Android 13. I googled the problem online and there are many other people, that have the same problem that I have. I couldn't find any solution. That's why I need your help. Thanks |
I not sure what you have tried already. It could be that the almanac need redownloaded. This can happen by letting the gps sit for about 10-15 minutes to acquire satellites. https://www.reddit.com/r/GooglePixel/comments/wt3tms/gps_problem_with_a13_update_on_pixel_5/ |
Hi, I just tested my app on Android 13, there it's working fine. Allthough, the location still glitches arround in a distance of like 15 meters. I want to track the location and display the route on a track so this is a big problem |
I implemented the Code as follows: I have a foreground service that starts subscribing to the CrossGeolocator PosChanged event. (Can I even implement it like that on Android?) My Code: `public async void OnServiceStarted()
Then if the position changes, I will just save these values in an array of Locations. |
That should work. I added a Sample project. You can double check with it if you run into problems.
Check your horizontal accuracy. A good accuracy for a phone GPS should be less than 10. Otherwise, also check if you are around tall buildings or trees as this will affect the accuracy. An alternative solution is to create a circular list that takes a weighted running average of the last 5 points or so. Other options include Kalman Filters or kicking out bad data. |
Me same issue here. 1 of 5 locations changed arguments is San Francisco which far away from current location. Also PositionChanged event fires to many times. Confirmed build in |
I use this code var status = await Permissions.RequestAsync<Permissions.LocationWhenInUse>(); private static async void CrossGeolocator_Current_PositionChanged(object sender, PositionEventArgs e) PositionChanged event fires to many times and return same latitude and longitude althougth i am don't move ?? is there any soultion for this issue |
i use this solution and working fine now private static async void CrossGeolocator_Current_PositionChanged(object sender, PositionEventArgs e)
} |
Hey, when I try to use this Crossgeolocator library with Android 13, the GPS Signal moves a lot, even though the device doesnt move. When I try it with Android 11 or so, it works just fine
The text was updated successfully, but these errors were encountered: