xam.Plugin.Geolocator does not return

Hi Guys,

I've been fighting I don't even know for how long now with the geolocator from @JamesMontemagno . I've read the documentation countless times and the result is the same on device (iPhone 7 plus, iOS 10.3.2) every approach I tried. I downloaded an GPS app just to be sure that my GPS on my phone is working and it seems to work fine with no problems whatsoever.

What I'm trying to do in short:
I'm building an iOS app that when it starts up it will get my location among other things and tell me weather of that location. I cannot get any coordinates from this plugin. I have waited for long time (because maybe i'm indoors) but nothing...

I've used information (adapted it to my particular situation) from the samples given here: https://github.com/jamesmontemagno/GeolocatorPlugin/tree/master/samples/GeolocatorSample/GeolocatorSample.iOS

But to no avail.

It goes dead at the following line:
var position = await locator.GetPositionAsync(TimeSpan.FromSeconds(10));

And there isn't any errors nor timeouts. It never returns. Maybe I saw once or twice 'Task was canceled' But I'm not sure if it is related.

Any suggestions or a better way to debug this would be appreciated.

Sign In or Register to comment.