bluetooth_le_flutter 0.2.0
bluetooth_le_flutter: ^0.2.0 copied to clipboard
Flutter plugin that adds the Android native build for bluetooth_le (Bluetooth Low Energy / GATT). Add it to a Flutter app and use the bluetooth_le API.
Changelog #
0.2.0 #
- Android native fixes for
bluetooth_le0.2.0 (tracked CCCD writes, scan cleanup, hot-restart quiesce hook).connect()andstartScan()return distinct codes for adapter-off (-2) and missing permission (-3) so the Dart side throws the right exception (additive; older Dart treats them as failure). Scan failures (onScanFailed) are now bridged, the backend survives R8/ProGuard and app-classloader loading, and GATT ops fail fast on bridge errors instead of hanging. Use withbluetooth_le>= 0.2.0; no API changes here.
0.1.0 #
Initial release.
- Flutter plugin companion for
bluetooth_le. - Provides the Android native build (Kotlin
BluetoothGatt+ JNI C shim via Gradle/CMake) and bundleslibbluetooth_le_android.sointo the host app. - iOS/macOS native code is built from
bluetooth_le's native-assets hook; Windows/Linux need no native build. - Re-exports the
bluetooth_leAPI; there is no separate Dart surface.