In my Windows Phone 8 app, I am trying to use GetGeopositionAsync on the main page to display some items based on user location.
Calling GetGeopositionAsync does not
I had some of the same issues above. When I hooked up to the geolocator.StatusChanged event, I noticed that sequence of events was:
So I added a loop before my await call:
while (geolocator.LocationStatus == PositionStatus.Initializing)
{
System.Threading.Thread.Sleep(100);
}
This is inelegant, but did work.