flutter_ble_central 0.3.0
flutter_ble_central: ^0.3.0 copied to clipboard
A Flutter package for scanning BLE data in central mode.
0.3.0 #
- Added
isBluetoothOngetter to check if Bluetooth is powered on - Added
isSupportedgetter to check if BLE is supported on the device - Added
enableBluetooth()method (Android/Windows, returns false on Apple platforms) - Added
openBluetoothSettings()method to open system Bluetooth settings - Added
openAppSettings()method to open app settings - [Android] Added Bluetooth state change listener using BroadcastReceiver
- [Android] Added StateChangedHandler for streaming state changes to Flutter
- [Android] Added activity lifecycle callbacks to refresh state when app resumes
- [Darwin] Fixed StateChangedHandler event channel name (was incorrectly using "peripheral" instead of "central")
- [Darwin] Added
hasPermission()support using CBCentralManager.authorization API (iOS 13.1+/macOS 10.15+) - [Windows] Added Bluetooth state change event channel
- [Windows] Added
isSupported,isBluetoothOn,hasPermission,enableBluetoothmethod handlers - [Windows] Added
openBluetoothSettings()andopenAppSettings()methods - [Example] Complete redesign with Material 3 UI
- [Example] Added permission request dialogs with platform-specific UI
- [Example] Added Bluetooth off dialog with enable functionality
0.2.1 #
- [Android] Add a refresh timer that restarts the scan after 4 minutes to prevent Android from changing the state of the scan to "opportunistic".
0.2.0 #
- Update permission system
- Merge iOS and macOS codebase
- Update permission system
- Add enableTimingStats to FlutterBleCentral and disable it by default
0.1.0 #
- [Android] Added useLightweightScanResult for android to improve fast scanning.
- Updated dependencies
0.0.8 #
- [macOS] Fixed build errors.
0.0.7 #
- [Android] Fixed requestPermission not working correctly.
0.0.6 #
Fixed windows search state
0.0.5 #
Various improvements
0.0.4 #
Added windows support.
0.0.3 #
Fixed macOS device address.
0.0.2 #
Fixed serviceUUIDs not being found on android and iOS.
0.0.1 #
Initial release with advertisement data support for Android, iOS and MacOS.