https://github.com/scientifichackers/flutter-rx-ble
A Flutter BLE plugin, based on RxAndroidBle and RxBluetoothKit.
https://github.com/scientifichackers/flutter-rx-ble
Last synced: 2 months ago
JSON representation
A Flutter BLE plugin, based on RxAndroidBle and RxBluetoothKit.
- Host: GitHub
- URL: https://github.com/scientifichackers/flutter-rx-ble
- Owner: scientifichackers
- License: lgpl-3.0
- Created: 2019-05-10T22:27:28.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-23T04:20:51.000Z (almost 5 years ago)
- Last Synced: 2025-04-06T17:05:26.528Z (3 months ago)
- Language: Dart
- Size: 334 KB
- Stars: 36
- Watchers: 3
- Forks: 18
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://www.jaaga.in/labs) [](https://pub.dartlang.org/packages/rx_ble)
# Flutter Rx BLE
A Flutter BLE plugin, based on the wonderful [RxAndroidBle](https://github.com/Polidea/RxAndroidBle) and [RxBluetoothKit](https://github.com/Polidea/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:
```plist
...
NSBluetoothAlwaysUsageDescription
Please enable location to continue.
NSLocationWhenInUseUsageDescription
Please enable location to continue.
NSBluetoothPeripheralUsageDescription
Please enable bluetooth to continue.```