File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -218,6 +218,14 @@ Up to SDK 30 (Android 11):
218218* ACCESS_FINE_LOCATION : this permission is needed because old Nexus devices need location services in order to provide reliable scan results
219219* BLUETOOTH : allows apps to connect to a paired Bluetooth device
220220* BLUETOOTH_ADMIN: allows apps to discover and pair Bluetooth devices
221+ * BLUETOOTH_SCAN: add this permission with `tools:node="remove"` to remove it from the merged manifest.
222+ ```
223+ <uses-permission
224+ android: name ="android.permission.BLUETOOTH_SCAN"
225+ android: usesPermissionFlags ="neverForLocation" tools: node ="remove" />
226+ ```
227+ This will prevent issues like [#410](https://github.com/PhilipsHue/flutter_reactive_ble/issues/410).
228+
221229
222230SDK 31 and up (Android 12+):
223231* BLUETOOTH_CONNECT: allows apps to connect to a Bluetooth device
@@ -259,4 +267,4 @@ This will prevent issues like [#147](https://github.com/PhilipsHue/flutter_react
259267
260268#### Unofficial example apps
261269
262- Example implementation UART over BLE:[link](https://github.com/wolfc01/flutter_reactive_ble_uart_example)
270+ Example implementation UART over BLE:[link](https://github.com/wolfc01/flutter_reactive_ble_uart_example)
You can’t perform that action at this time.
0 commit comments