Geolocator.RequestAccessAsync does not prompt the user for access #18094
-
Hello everyone! I am trying to get the user's current location on an android device, therefore I added Location to the capabilities in the Package.appmanifest file and then ask for location permissions via Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hey @Zerachiel01, If you are trying to access the location on an Android device, you will need to specify the permissions in the Android manifest (Platforms>Android> |
Beta Was this translation helpful? Give feedback.
Hey @Zerachiel01,
If you are trying to access the location on an Android device, you will need to specify the permissions in the Android manifest (Platforms>Android>
AndroidManifest.xml
). I think the implementation checks for Fine Location permission, so you should include<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
. You should also make sure you have Location enabled on the device.Let me know if this helps.