'Geolocator.RequestAccessAsync() taking too much time for returning its value in UWP with xamarin.forms
Initially Allow Apps to access location and my app's access precise location is off in my windows machine. I opened my app and GPS is unavailable. I enabled both Allow Apps to access location and my app's access precise location. after that, I tap the location icon and it will trigger Geolocator.RequestAccessAsync() to check GPS-enabled via dependency service. Geolocator.RequestAccessAsync() taking too much time for returning its value in UWP with Xamarin.Forms. Need to reduce the time or better alternatives with lesser timing in UWP for Xamarin.Forms.
var accessStatus = await Geolocator.RequestAccessAsync();
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
