Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 3 days 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 (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-23T04:20:51.000Z (about 4 years ago)
- Last Synced: 2023-08-20T23:01:13.517Z (about 1 year ago)
- Language: Dart
- Size: 334 KB
- Stars: 36
- Watchers: 4
- Forks: 18
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Sponsor](https://img.shields.io/badge/Sponsor-jaaga_labs-red.svg?style=for-the-badge)](https://www.jaaga.in/labs) [![pub package](https://img.shields.io/pub/v/rx_ble.svg?style=for-the-badge)](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.```