File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 <uses-permission android : name =" android.permission.INTERNET" />
44
55
6+ <!--
7+ HACK: this permission should not be needed on android 12+ devices anymore,
8+ but in fact some manufacturers still need it for BLE to properly work :
9+ https://stackoverflow.com/a/72370969
10+ -->
11+ <uses-permission android : name =" android.permission.BLUETOOTH" tools : remove =" android:maxSdkVersion" />
12+ <!--
13+ should normally only be needed on android < 12 if you want to:
14+ - activate bluetooth programmatically
15+ - discover local BLE devices
16+ see: https://developer.android.com/guide/topics/connectivity/bluetooth/permissions#discover-local-devices.
17+ Same as above, may still be wrongly needed by some manufacturers on android 12+.
18+ -->
19+ <uses-permission android : name =" android.permission.BLUETOOTH_ADMIN" tools : remove =" android:maxSdkVersion" />
20+
21+ <uses-permission android : name =" android.permission.ACCESS_COARSE_LOCATION" android : maxSdkVersion =" 28" />
22+ <uses-permission-sdk-23 android : name =" android.permission.ACCESS_FINE_LOCATION" android : maxSdkVersion =" 30" />
23+
24+
25+
26+
27+
628 <!-- Needed if your app search for Bluetooth devices. -->
729 <!--
830 If your app doesn't use Bluetooth scan results to derive physical location information,
You can’t perform that action at this time.
0 commit comments