Skip to content

Geolocator.RequestAccessAsync does not prompt the user for access #18094

Discussion options

You must be logged in to vote

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.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Zerachiel01
Comment options

@jeromelaban
Comment options

Answer selected by jeromelaban
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants