Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

How are validate gps data in CrossGeolocator plugin?

$
0
0

I'm using @JamesMontemagno Geolocator plugin.
I test IsGeolocationAvailable and IsGeolocationEnabled properties to verify in GPS is working.
I would like to know (if isGeolocationAvailable and IsGeolocationEnabled are TRUE) how are validate data returned by await locator.GetPositionAsync(timeout: 5000).
How can I say that data returned are correct? I see that if I turn off and then turn on GPS, it not returnes "good data" (I'm talking about "datetime" data) immediately.
In Windows CE I used "number of satellites connected" to have a certain accuracy in data received.

Thanks
Alessandro


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>