rx_ble 0.5.0 rx_ble: ^0.5.0 copied to clipboard
A Flutter BLE plugin, based on RxAndroidBle and RxBluetoothKit.
Flutter Rx BLE #
A Flutter BLE plugin, based on the wonderful RxAndroidBle and RxBluetoothKit libraries.
Batteries included. #
- Acquire every permission and setting required for Bluetooth access, using a single method -
RxBle.requestAccess()
. - No need to manually discover BLE services.
- Automatically queues up GATT requests to avoid race conditions.
Installation #
iOS #
- Open iOS module in XCode
- Edit
Info.plist
- Right click > Enable show Raw Keys/Values
- Add these entries
NSLocationWhenInUseUsageDescription
=Please enable location to continue.
NSBluetoothPeripheralUsageDescription
=Please enable bluetooth to continue.
Or, you may add these entries maually using your editor of choice:
<dict>
...
<key>NSLocationWhenInUseUsageDescription</key>
<string>Please enable location to continue.</string>
<key>NSBluetoothPeripheralUsageDescription</key>
<string>Please enable bluetooth to continue.</string>
</dict>