flutter_blue 0.6.1 flutter_blue: ^0.6.1 copied to clipboard
Flutter plugin for connecting and communicating with Bluetooth Low Energy devices, on Android and iOS
0.6.1 #
- Add
mtu
andrequestMtu
to BluetoothDevice
0.6.0+4 #
- Fix duplicate characteristic notifications when connection lost.
- Fix duplicate characteristic notifications when reconnecting.
- Add minimum SDK version of 18 for the plugin.
- Documentation updates
0.6.0 #
- Breaking change. API refactoring with RxDart (see example)
- Log a more detailed warning at build time about the previous AndroidX migration.
- Ensure that all channel calls to the Dart side from the Java side are done on the UI thread. This change allows Transactions to work with upcoming Engine restrictions, which require channel calls be made on the UI thread. Note this is an Android only change, the iOS implementation was not impacted.
0.5.0 #
- Breaking change. Migrate from the deprecated original Android Support Library to AndroidX. This shouldn't result in any functional changes, but it requires any Android apps using this plugin to also migrate if they're using the original support library.
0.4.2+1 #
- Upgrade Android Gradle plugin to 3.3.0
- Refresh iOS build files
0.4.2 #
- Set the verbosity of log messages with
setLogLevel
- Updated iOS and Android project files
autoConnect
now configurable for Android- Various bug fixes
0.4.1 #
- Fixed bug where setNotifyValue wasn't properly awaitable.
- Various UI bug fixes to example app.
- Removed unnecessary intl dependencies in example app.
0.4.0 #
- Breaking change. Manufacturer Data is now a
Map
of manufacturer ID's. - Service UUID's, service data, tx power level packets fixed in advertising data.
- Example app updated to show advertising data.
- Various other bug fixes.
0.3.4 #
- Updated to use the latest protobuf (^0.9.0+1)
- Updated other dependencies
0.3.3 #
scan
withServices
to filter by service UUID's (iOS)- Error handled when trying to scan with adapter off (Android)
0.3.2 #
- Runtime permissions for Android
scan
withServices
to filter by service UUID's (Android)- Scan mode can be specified (Android)
- Now targets the latest android SDK
- Dart 2 compatibility
0.3.1 #
- Now allows simultaneous notifications of characteristics
- Fixed bug on iOS that was returning
discoverServices
too early
0.3.0 #
- iOS support added
- Bug fixed in example causing discoverServices to be called multiple times
- Various other bug fixes
0.2.4 #
- Breaking change. Upgraded to Gradle 4.1 and Android Studio Gradle plugin 3.0.1. Older Flutter projects need to upgrade their Gradle setup as well in order to use this version of the plugin. Instructions can be found here.
0.2.3 #
- Bug fixes
0.2.2 #
- Breaking changes:
startScan
renamed toscan
ScanResult
now returns aBluetoothDevice
connect
now takes aBluetoothDevice
and returns Stream- Added parameter
timeout
toconnect
- Automatic disconnect on deviceConnection.cancel()
0.2.1 #
- Breaking change. Removed
stopScan
from API, usescanSubscription.cancel()
instead - Automatically stops scan when
startScan
subscription is canceled (thanks to @brianegan) - Added
timeout
parameter tostartScan
- Updated example app to show new scan functionality
0.2.0 #
- Added state and onStateChanged for BluetoothDevice
- Updated example to show new functionality
0.1.1 #
- Fixed image for pub.dartlang.org
0.1.0 #
- Characteristic notifications/indications.
- Merged in Guid library, removed from pubspec.yaml.
0.0.1 - September 1st, 2017 #
- Initial Release.