Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No need to request ACCESS_FINE_LOCATION permissions as of Android 12 #175

Open
aeroechelon opened this issue Apr 16, 2024 · 0 comments
Open

Comments

@aeroechelon
Copy link

aeroechelon commented Apr 16, 2024

From: https://developer.android.com/develop/connectivity/bluetooth/bt-permissions

On Android 8.0 (API level 26) and higher, the Companion Device Manager (CDM) provides a more streamlined method of connecting to companion devices, compared to the permissions described in this section. The CDM system provides a pairing UI on behalf of your app and doesn't require location permissions.

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

@aeroechelon aeroechelon changed the title As of Android 12, ACCESS_FINE_LOCATION is no longer needed No need to request ACCESS_FINE_LOCATION permissions as of Android 12 Apr 16, 2024
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

No branches or pull requests

1 participant