diff --git a/CHANGELOG.md b/CHANGELOG.md index a21027c9..03fec2a4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,13 +1,17 @@ +## 2.6.1 + +* Prevent incrorrect propagation of error in case observing BLE status fails. + ## 2.6.0 * Fix #125 Class `DiscoveredService` isn't exported. * Set min supported iOS version to 11. -* Replace `RaisedButton` with `ElevatedButton` in Example app +* Replace `RaisedButton` with `ElevatedButton` in Example app. ## 2.5.3 -* Fix #118 not sending disconnect update when device is disconnected on Android -* Fix pubspec sorting +* Fix #118 not sending disconnect update when device is disconnected on Android. +* Fix pubspec sorting. ## 2.5.2 @@ -16,70 +20,70 @@ ## 2.5.1 -* Update Podfile to support latest Flutter version +* Update Podfile to support latest Flutter version. ## 2.5.0 * Add service discovery operation -* Fix #104 problems adding library to add-to-app on iOS -* Fix #105 handle devices changing name during scanning on Android +* Fix #104 problems adding library to add-to-app on iOS. +* Fix #105 handle devices changing name during scanning on Android. ## 2.4.0+1 -* Fix #97 crash on notifications when device gets disconnected on Android +* Fix #97 crash on notifications when device gets disconnected on Android. ## 2.4.0 -* Fix device list layout in the example app -* Prefer `CBAdvertisementDataLocalName` over `peripheral.name` on iOS -* Add consistent debug logging for both iOS and Android +* Fix device list layout in the example app. +* Prefer `CBAdvertisementDataLocalName` over `peripheral.name` on iOS. +* Add consistent debug logging for both iOS and Android. ## 2.3.0 -* Increase test coverage and improved architecture -* Fix for #73 scanForDevices stream should emit error +* Increase test coverage and improved architecture. +* Fix for #73 scanForDevices stream should emit error. ## 2.2.0 -* Upgrade dependencies -* Bump min Dart sdk version to 2.7 +* Upgrade dependencies. +* Bump min Dart sdk version to 2.7. ## 2.1.0 -* Improve documentation of public API -* Fix for write without response on iOS -* Add support for newer Flutter versions. Remove support for FLutter lower than v1.10 +* Improve documentation of public API. +* Fix for write without response on iOS. +* Add support for newer Flutter versions. Remove support for FLutter lower than v1.10. ## 2.0.0+1 -* Remove unused dependencies from pubspec.yaml -* Fix static analysis warning in example app -* Fix test in prescan_connector_test +* Remove unused dependencies from pubspec.yaml. +* Fix static analysis warning in example app. +* Fix test in prescan_connector_test. ## 2.0.0 This version is introducing the following breaking changes: -* Add parameter requireLocationServicesEnabled to Ble scan that can toggle requirement of location services to be running -* Make filter on advertising services optional and add possibility to filter on more services -* Add manufacturer specific data to scanresults -* Remove global set error handler java +* Add parameter requireLocationServicesEnabled to Ble scan that can toggle requirement of location services to be running. +* Make filter on advertising services optional and add possibility to filter on more services. +* Add manufacturer specific data to scanresults. +* Remove global set error handler java. Other improvements: -* Improvements for example app -* Add support for Flutter hot reload on iOS +* Improvements for example app. +* Add support for Flutter hot reload on iOS. ## 1.1.0 -* Add RSSI value to discovered device results -* Improve parsing of UUIDs -* Migrate to latest Android plugin binding -* Small improvements +* Add RSSI value to discovered device results. +* Improve parsing of UUIDs. +* Migrate to latest Android plugin binding. +* Small improvements. ## 1.0.2 -* Fix crash on clear Gattcache +* Fix crash on clear Gattcache. ## 1.0.1 @@ -89,7 +93,7 @@ Other improvements: ## 1.0.0+1 -* Update homepage +* Update homepage. ## 1.0.0 diff --git a/android/src/main/kotlin/com/signify/hue/flutterreactiveble/channelhandlers/BleStatusHandler.kt b/android/src/main/kotlin/com/signify/hue/flutterreactiveble/channelhandlers/BleStatusHandler.kt index 569922ea..1bc44b37 100644 --- a/android/src/main/kotlin/com/signify/hue/flutterreactiveble/channelhandlers/BleStatusHandler.kt +++ b/android/src/main/kotlin/com/signify/hue/flutterreactiveble/channelhandlers/BleStatusHandler.kt @@ -29,7 +29,7 @@ class BleStatusHandler(private val bleClient: BleClient) : EventChannel.StreamHa Observable.timer(delayListenBleStatus, TimeUnit.MILLISECONDS) .switchMap { bleClient.observeBleStatus() } .observeOn(AndroidSchedulers.mainThread()) - .subscribe ({ bleStatus -> + .subscribe({ bleStatus -> val message = pb.BleStatusInfo.newBuilder() .setStatus(bleStatus.code) .build() diff --git a/example/pubspec.lock b/example/pubspec.lock index abd22128..0b0f7c81 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -82,7 +82,7 @@ packages: path: ".." relative: true source: path - version: "2.6.0" + version: "2.6.1" flutter_test: dependency: "direct dev" description: flutter diff --git a/example/pubspec.yaml b/example/pubspec.yaml index 5f93c460..eee5d75e 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_reactive_ble_example description: Demonstrates how to use the flutter_reactive_ble plugin. -version: 2.6.0 +version: 2.6.1 publish_to: 'none' environment: diff --git a/pubspec.yaml b/pubspec.yaml index 49e0f159..69e8c095 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_reactive_ble description: Reactive Bluetooth Low Energy (BLE) plugin that can communicate with multiple devices -version: 2.6.0 +version: 2.6.1 homepage: https://github.com/PhilipsHue/flutter_reactive_ble environment: