Skip to content

Conversation

komaxx
Copy link

@komaxx komaxx commented Aug 28, 2024

See: https://developer.android.com/develop/sensors-and-location/location/permissions#approximate-request

To handle this potential user behavior, don't request the ACCESS_FINE_LOCATION permission by itself. Instead, request both the ACCESS_FINE_LOCATION permission and the ACCESS_COARSE_LOCATION permission in a single runtime request. If you try to request only ACCESS_FINE_LOCATION, the system ignores the request on some releases of Android 12. If your app targets Android 12 or higher, the system logs the following error message in Logcat: [...]

Copy link

docs-page bot commented Aug 28, 2024

To view this pull requests documentation preview, visit the following URL:

docs.page/lyokone/flutterlocation~990

Documentation is deployed and generated using docs.page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant