Breaking Change: Add bluetooth connect permission to beacon monitor to prevent log spam from library (#2920)

Add bluetooth connect permission to beacon monitor to prevent log spam from library
This commit is contained in:
Daniel Shokouhi 2022-09-26 07:53:42 -07:00 committed by GitHub
parent db98a7ced3
commit fbe300e30b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -160,6 +160,7 @@ class BluetoothSensorManager : SensorManager {
(sensorId == beaconMonitor.id && Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) -> {
arrayOf(
Manifest.permission.BLUETOOTH,
Manifest.permission.BLUETOOTH_CONNECT,
Manifest.permission.BLUETOOTH_SCAN,
Manifest.permission.ACCESS_FINE_LOCATION,
)