Skip to content

Commit 407936d

Browse files
Taym95Bentaimia Haddadi
authored andcommitted
Add more documents to build for Android <= 30
1 parent 26f2d2c commit 407936d

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff 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
222230
SDK 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)

0 commit comments

Comments
 (0)