Skip to content

Commit

Permalink
Release 1.8.6
Browse files Browse the repository at this point in the history
  • Loading branch information
chipweinberger committed Jul 21, 2023
1 parent e0767e6 commit 9f9e304
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## 1.8.6
* dart: rename BluetoothDevice.id -> remoteId
* dart: rename uuid -> characteristicUuid / serviceUuid / descriptorUuid
* dart: rename FlutterBluePlus.name -> adapterName
* dart: rename BluetoothDevice.name -> localName
* dart: rename FlutterBluePlus.state -> adapterState
* dart: rename BluetoothDevice.state -> connectionState
* iOS: add support for autoReconnect (iOS 17 only)

## 1.8.5
* iOS: check for nil peripheral. (regression in 1.8.3)
Expand Down
5 changes: 4 additions & 1 deletion lib/src/bluetooth_device.dart
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,10 @@ class BluetoothDevice {

@override
bool operator ==(Object other) =>
identical(this, other) || other is BluetoothDevice && runtimeType == other.runtimeType && id == other.id;
identical(this, other) ||
(other is BluetoothDevice &&
runtimeType == other.runtimeType &&
remoteId == other.remoteId);

@override
int get hashCode => remoteId.hashCode;
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_blue_plus
description: Flutter plugin for connecting and communicationg with Bluetooth Low Energy devices, on Android and iOS
version: 1.8.5
version: 1.8.6
homepage: https://github.com/boskokg/flutter_blue_plus

environment:
Expand Down

0 comments on commit 9f9e304

Please sign in to comment.