flutter_reactive_ble
5.6.0, released 8 weeks ago by meethue.com
Reactive BLE plugin for Android and iOS that supports multiple devices
What it does
Provides APIs to scan for devices, connect, read/write characteristics, subscribe to notifications, and negotiate MTU size. It exposes streams for device discovery and connection state updates.
AI-written summary of version 5.6.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- Need to communicate with several BLE devices simultaneously
- Require reactive streams for real‑time updates
- Need to negotiate MTU or clear GATT cache
Skip it when
- Only a single BLE device is needed and a simple callback style is sufficient
- You prefer a fully declarative UI framework for BLE
Strengths
- Stream‑based API for continuous updates
- Supports multiple devices at once
- Cross‑platform (Android & iOS) with native permission handling
- Built‑in MTU negotiation and GATT cache clearing
Weaknesses
- Requires native permission configuration in AndroidManifest and Info.plist
- Setup involves platform‑specific steps (ProGuard, iOS plist entries)
- No code generation support
Setup
- Kind
- Plugin (native code)
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 5
Add BLUETOOTH_SCAN, BLUETOOTH_CONNECT, and location permissions to AndroidManifest.xml; add NSBluetoothAlwaysUsageDescription or NSBluetoothPeripheralUsageDescription to Info.plist; optionally add ProGuard rules for Android.
final ble = FlutterReactiveBle();
ble.scanForDevices(withServices: [], scanMode: ScanMode.lowLatency)
.listen((device) => print(device));Alternatives
Packages that do the same job and could replace flutter_reactive_ble.
- flutter_blue_plus
Flutter plugin for connecting to Bluetooth Low Energy devices.
90Compare - universal_ble
Cross-platform Bluetooth Low Energy (BLE) plugin for Flutter
92Compare - flutter_splendid_ble
A Flutter plugin for Bluetooth Low Energy (BLE) central interactions.
72Compare - vital_bluetooth
Bluetooth LE plugin for Flutter with background support and automatic reconnect
66Compare
Works with
Packages commonly used together with flutter_reactive_ble: ones it builds on, ones built on it, and its own family.