Skip to content
This repository has been archived by the owner on Oct 5, 2021. It is now read-only.

AndroidManifest need ACCESS_FINE_LOCATION permission? #44

Open
jweidner-mbible opened this issue Jun 18, 2020 · 2 comments
Open

AndroidManifest need ACCESS_FINE_LOCATION permission? #44

jweidner-mbible opened this issue Jun 18, 2020 · 2 comments

Comments

@jweidner-mbible
Copy link

Initially when my app called

LocationPermissions().requestPermissions(
permissionLevel: LocationPermissionLevel.locationWhenInUse);

No dialog would get displayed to allow the user to grant or deny the permission. But after adding

<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>

to my AndroidManifest.xml file, the dialog would show up. I didn't see that mentioned in the documentation. This was on a device running Android 6.0.1.

@janoschp
Copy link

Same here.

@wyldebill
Copy link

Yes, here too. But I'm getting an exception when the device location service is disabled, the app location permission is disabled, and there is no permission request in the AndroidManifest.xml file. On the call to
final PermissionStatus permissionRequestResult = await LocationPermissions()
.requestPermissions(permissionLevel: LocationPermissionLevel.locationWhenInUse);

The docs should call out the need for the AndroidManifest.xml entry explicitly.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants