- Migrate the plugin to null safety.
- Fix Android project template files to be compatible with protobuf-lite.
- Add experimental support for MacOS.
- Add
allowDuplicates
option tostartScan
. - Fix performance issue with GUID initializers.
- Fix for FlutterBlue constructor when running on emulator.
- Return error when attempting to
discoverServices
while not connected.
- Fix incorrect value notification when write is performed.
- Add
toString
to each bluetooth class. - Various other bug fixes.
- Support v2 android embedding.
- Various bug and documentation fixes.
- Fix compilation issue with iOS.
- Bump protobuf version to 1.0.0.
- Update project files for Android and iOS.
- Remove dependency on protoc for iOS.
- Add
mtu
andrequestMtu
to BluetoothDevice.
- Fix duplicate characteristic notifications when connection lost.
- Fix duplicate characteristic notifications when reconnecting.
- Add minimum SDK version of 18 for the plugin.
- Documentation updates.
- 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.
- 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.
- Upgrade Android Gradle plugin to 3.3.0.
- Refresh iOS build files.
- Set the verbosity of log messages with
setLogLevel
. - Updated iOS and Android project files.
autoConnect
now configurable for Android.- Various bug fixes.
- Fixed bug where setNotifyValue wasn't properly awaitable.
- Various UI bug fixes to example app.
- Removed unnecessary intl dependencies in example app.
- 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.
- Updated to use the latest protobuf (^0.9.0+1).
- Updated other dependencies.
scan
withServices
to filter by service UUID's (iOS).- Error handled when trying to scan with adapter off (Android).
- 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.
- Now allows simultaneous notifications of characteristics.
- Fixed bug on iOS that was returning
discoverServices
too early.
- iOS support added.
- Bug fixed in example causing discoverServices to be called multiple times.
- Various other bug fixes.
- 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.
- Bug fixes
- 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().
- 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.
- Added state and onStateChanged for BluetoothDevice.
- Updated example to show new functionality.
- Fixed image for pub.dartlang.org.
- Characteristic notifications/indications.
- Merged in Guid library, removed from pubspec.yaml.
- Initial Release.