Inspectopedia Help

Cannot use ACCESS_FINE_LOCATION without ACCESS_COARSE_LOCATION

Cannot use ACCESS_FINE_LOCATION without ACCESS_COARSE_LOCATION

If your app requires access to FINE location, on Android 12 and higher you must now request both FINE and COARSE. Users will have the option to grant only COARSE location. Ensure your app can work with just COARSE location.

Issue id: CoarseFineLocation

Inspection Details

Available in:

IntelliJ IDEA 2023.3, Qodana for Android 2023.3, Qodana for JVM 2023.3

Plugin:

Android, 2022.3.1 Beta 2

Last modified: 13 July 2023