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

iOS get wrong Location #343

Open
Billaehbong opened this issue Mar 5, 2021 · 3 comments
Open

iOS get wrong Location #343

Billaehbong opened this issue Mar 5, 2021 · 3 comments

Comments

@Billaehbong
Copy link

Billaehbong commented Mar 5, 2021

Hey everyone,

i have an issue on iOS devices. I think it is an bug on apples side, but maybe you have an idea.

Im using this setup for the locator. And this works fine.

await CrossGeolocator.Current.StartListeningAsync(TimeSpan.FromSeconds(1), 1, true, new Plugin.Geolocator.Abstractions.ListenerSettings { ActivityType = Plugin.Geolocator.Abstractions.ActivityType.Fitness, AllowBackgroundUpdates = false, DeferLocationUpdates = true, DeferralDistanceMeters = 1, DeferralTime = TimeSpan.FromSeconds(1), ListenForSignificantChanges = false, PauseLocationUpdatesAutomatically = false });; CrossGeolocator.Current.PositionChanged += Current_PositionChanged; } catch(Exception ex)

But now i have the following problem:

As you can see in the attachet Video i have sometimes the problem to get a wrong location. First you see my app ReportATree, there you can see the wrong position first. Then i open the Maps app from apple and there you see that the position flys to my actual position. Then i open again ReportATree and you see now the position is correct.

I think the setup below asks for the last known location from the apple device. And this location is sometimes wrong as you can see in the video. On the wrong location i have never been before this day.

Has any one else this problem? Have i made a mistake in the setup?

RPReplay_Final1613742977.mp4
@charmosz
Copy link

Hi. Same problem for me. Did you fix it ?

@Billaehbong
Copy link
Author

@charmosz not i didnt. Seems that it is a apple bug. I sended this bug via apple feedback assistent. They would have a profile to see what happens, but i hadn't time for this at the moment.

@charmosz
Copy link

Ok. Let me know if you get a fix. Hope that it will come soon in Xamarin Essentials, see xamarin/Essentials#1447

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants