Closed mannodermaus closed 2 years ago
In addition to the existing permission checks for ACCESS_FINE_LOCATION and ACCESS_COARSE_LOCATION, the CycledLeScanner is allowed to start its scan when running on an Android 12 device that has been granted the new permission, BLUETOOTH_SCAN.
ACCESS_FINE_LOCATION
ACCESS_COARSE_LOCATION
CycledLeScanner
BLUETOOTH_SCAN
Resolves https://github.com/AltBeacon/android-beacon-library/issues/1063. The impact of this change can be verified from my forked version:
repositories { jitpack() } dependencies { // implementation("org.altbeacon:android-beacon-library:2.19.2") implementation("com.github.mannodermaus:android-beacon-library:34b25a5e7a") }
Thank you, @mannodermaus. Yes, this is certainly needed.
In addition to the existing permission checks for
ACCESS_FINE_LOCATION
andACCESS_COARSE_LOCATION
, theCycledLeScanner
is allowed to start its scan when running on an Android 12 device that has been granted the new permission,BLUETOOTH_SCAN
.Resolves https://github.com/AltBeacon/android-beacon-library/issues/1063. The impact of this change can be verified from my forked version: