uses permission BLUETOOTH_SCAN

BLUETOOTH and BLUETOOTH_ADMIN do not apply to SDK 33 and 34.  Somehow
something is triggering the Bluetooth code, which requires BLUETOOTH_SCAN.
Since it isn't there, it crashes.

closes acra-crash-reports#619
closes acra-crash-reports#620
closes acra-crash-reports#630
closes acra-crash-reports#709

https://developer.android.com/develop/connectivity/bluetooth/bt-permissions
This commit is contained in:
Hans-Christoph Steiner 2024-04-05 22:37:25 +02:00
parent 3389fdbd54
commit 5216050b82
1 changed files with 3 additions and 0 deletions

View File

@ -54,6 +54,9 @@
android:name="android.permission.BLUETOOTH_ADMIN"
android:maxSdkVersion="30" />
<uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />
<!-- used only for finding other devices to swap apps with -->
<uses-permission android:name="android.permission.BLUETOOTH_SCAN"
android:usesPermissionFlags="neverForLocation" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />