You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 19, 2024. It is now read-only.
In iOS the Geolocator seems to always waits untill the timeout has passed to return the geolocation values.
Once in a while it returns immediatly but mostly it waits for the timeout.
The way I use it is the following:
Xamarin.Geolocation.Geolocator locator;
#if __ANDROID__
locator = new Xamarin.Geolocation.Geolocator (Forms.Context) { DesiredAccuracy = 50 };
#endif
#if __IOS__
locator = new Xamarin.Geolocation.Geolocator { DesiredAccuracy = 50 };
#endif
Position position = await locator.GetPositionAsync (3000);
I tracked the time it took for fetching the geolocation for a month and stored the values.
+/- 95% took roughly 3100 ms
+/- 5% took roughly 100ms
Changing the accuracy and timeout time does not seem to affect this issue.
What could be the cause of this problem ?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello everyone,
In iOS the Geolocator seems to always waits untill the timeout has passed to return the geolocation values.
Once in a while it returns immediatly but mostly it waits for the timeout.
The way I use it is the following:
I tracked the time it took for fetching the geolocation for a month and stored the values.
+/- 95% took roughly 3100 ms
+/- 5% took roughly 100ms
Changing the accuracy and timeout time does not seem to affect this issue.
What could be the cause of this problem ?
The text was updated successfully, but these errors were encountered: