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

Map page won't open unless location service is on

$
0
0

My map page loads fine and zooms into the user's current location when location is enabled. However, if I deny permission to use my location, the app freezes when I click on the map page and I get the following error:

Java.Lang.SecurityException: my location requires permission ACCESS_FINE_LOCATION or ACCESS_COARSE_LOCATION

However, I still want the map to load even when the user denies permission for location.


Viewing all articles
Browse latest Browse all 91519

Trending Articles