rx_ble 1.0.0 copy "rx_ble: ^1.0.0" to clipboard
rx_ble: ^1.0.0 copied to clipboard

A Flutter BLE plugin, based on RxAndroidBle and RxBluetoothKit.

Sponsor pub package

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 #

  1. Open iOS module in XCode
  2. Edit Info.plist
  3. Right click > Enable show Raw Keys/Values
  4. Add these entries
    • NSBluetoothAlwaysUsageDescription = Please enable location to continue.
    • 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>NSBluetoothAlwaysUsageDescription</key>
    <string>Please enable location to continue.</string>
    <key>NSLocationWhenInUseUsageDescription</key>
    <string>Please enable location to continue.</string>
    <key>NSBluetoothPeripheralUsageDescription</key>
    <string>Please enable bluetooth to continue.</string>
</dict>
8
likes
35
pub points
0%
popularity

Publisher

unverified uploader

A Flutter BLE plugin, based on RxAndroidBle and RxBluetoothKit.

Repository (GitHub)
View/report issues

License

LGPL-3.0 (LICENSE)

Dependencies

flutter, plugin_scaffold

More

Packages that depend on rx_ble