Skip to content

Releases: chipweinberger/flutter_blue_plus

1.9.5

23 Jul 23:56
Compare
Choose a tag to compare
  • [fix] iOS: serviceUUIDs always null in scan results (regression in 1.7.0)
  • [fix] Example: snackbar complaining about invalid contexts

1.9.4

23 Jul 12:37
Compare
Choose a tag to compare
  • [fix] iOS: characteristic read not working. (regression in 1.9.0)
  • [improve] Dart: handle device.readRssi failure in rssiStream gracefully

1.9.3

23 Jul 09:33
Compare
Choose a tag to compare
  • [fix] iOS: setNotify returning error even though it succeeded (regression in 1.9.0)
  • [fix] Dart: Characteristic.isNotifying was not working (regression in 1.9.0)
  • [improve] Dart: add back uuid convenience variable for BluetoothDescriptor (deprecated in 1.8.6)
  • [improve] Example: only show READ/WRITE/SUBSCRIBE buttons if the characteristic supports it
  • [improve] Example: add error handling

1.9.2

22 Jul 21:28
Compare
Choose a tag to compare
  • [fix] Dart: readRssi: Invalid argument: Instance of 'DeviceIdentifier' (Regression 1.9.0)

1.9.1

22 Jul 21:22
Compare
Choose a tag to compare
  • [fix] Dart: crash in scanning due to assuming uuid is Guid format when it might not (Regression 1.9.0)
  • [improve] Dart: BluetoothCharacteristic.onValueReceived should only stream successful reads (Bug in 1.9.0)
  • [improve] Dart: add convenience accessors for BluetoothService.uuid and BluetoothCharacteristic.uuid as (deprecated in 1.8.6)
  • [improve] Example: add macos support

1.9.0

22 Jul 07:50
Compare
Choose a tag to compare

This release marks the end of major work to improve reliability and
simplicity of the FlutterBluePlus codebase. Please submit bug reports.

  • ANDROID ONLY BREAKING CHANGE: When read() is called onValueChangedStream is pushed to as well. This change was made to make both platforms behave the same way. It is an unavoidable limitation of iOS. See: #419

  • [fix] Android/iOS: mtu check minus 3 issue (reggression in 1.8.3)

  • [fix] Dart: BluetoothCharacteristic.state variable not working (bug introduced 1.8.6)

  • [fix] Dart: FlutterBluePlus.state variable not working (bug introduced 1.8.6)

  • [improve] Dart: deprecate: BluetoothCharacteristic.value -> lastValueStream

  • [improve] Dart: deprecate: BluetoothDescriptor.value -> lastValueStream

  • [improve] Dart: deprecate: BluetoothCharacteristic.onValueChangedStream -> onValueReceived

  • [improve] Dart: deprecate: BluetoothDescriptor.onValueChangedStream -> onValueReceived

  • [refactor] Dart: adapterState to use methodChannel

  • [refactor] Dart: various 'bm' message schemas to use simpler characteristic structure

  • [refactor] Dart: BmSetNotificationResponse removed. It is simpler to reuse BmWriteDescriptorResponse

  • [refactor] Android: move secondaryServiceUuid code its own getServicePair() function

  • [refactor] Android: android MessageMaker to be a bit more legible

1.8.8

21 Jul 11:26
Compare
Choose a tag to compare
  • [fix] Android/iOS:connectionState not being updated (regression in 1.8.6)
  • [fix] Android: "adapterState" to "getAdapterState"

1.8.7

21 Jul 00:57
Compare
Choose a tag to compare
  • [improve] Dart: add 15 seconds default timeout for ble communication

1.8.6

21 Jul 00:34
Compare
Choose a tag to compare
  • [rename] Dart: BluetoothDevice.id -> remoteId
  • [rename] Dart: uuid -> characteristicUuid / serviceUuid / descriptorUuid
  • [rename] Dart: FlutterBluePlus.name -> adapterName
  • [rename] Dart: BluetoothDevice.name -> localName
  • [rename] Dart: FlutterBluePlus.state -> adapterState
  • [rename] Dart: BluetoothDevice.state -> connectionState
  • [improve] iOS: add support for autoReconnect (iOS 17 only)

1.8.5

20 Jul 21:54
Compare
Choose a tag to compare
  • [fix] iOS: check for nil peripheral. (regression in 1.8.3)
  • [fix] Android: clean up gatt servers onDetachedFromEngine