Skip to content

Releases: chipweinberger/flutter_blue_plus

1.10.9

25 Jul 13:23
Compare
Choose a tag to compare
  • [fix] Android: turnOn() and turnOff() could timeout if already on or already off

1.10.8

25 Jul 13:08
Compare
Choose a tag to compare
  • [fix] Android: requestMtu (regression in 1.10.6)

1.10.7

25 Jul 12:51
Compare
Choose a tag to compare
  • [improve] Dart: disconnect should wait for disconnect to complete

1.10.6

25 Jul 12:30
Compare
Choose a tag to compare
  • [improve] Dart: for convenience, scan results now also include connected devices see: includeConnectedDevice
  • [improve] Dart: add connectionState to ScanResult
  • [improve] Dart: add BluetoothDevice.servicesList for convenience, which calls discoverServices automatically.
  • [rename] Dart: BluetoothDevice.services -> BluetoothDevice.servicesStream

1.10.5

25 Jul 05:11
Compare
Choose a tag to compare
  • [fix] iOS: API MISUSE: Cancelling connection for unused peripheral.
  • [improve] iOS: remove unecessary search of already connected devices during connection

1.10.4

24 Jul 23:38
Compare
Choose a tag to compare
  • [improve] iOS: add remoteId to error strings when connection fails, etc

1.10.3

24 Jul 15:00
Compare
Choose a tag to compare
  • [improve] Android: handle scan failure.
  • [improve] Dart: add verbose log level and remove unused log levels

1.10.2

24 Jul 13:09
Compare
Choose a tag to compare
  • [fix] Dart: setLogLevel recursion (Regression in 1.10.0)
  • [improve] iOS: use NSError instread of obj-c exceptions to avoid uncaught exceptions

1.10.1

24 Jul 09:53
Compare
Choose a tag to compare
  • [improve] Example: add error handling to descriptor read & write

1.10.0

24 Jul 09:31
Compare
Choose a tag to compare

This release is focused on improving error handling and reliability.

There are 2 small breaking changes. See below.

  • BREAKING CHANGE: Dart: turnOn() & turnOff() now wait for completion, return void instead of bool, and can throw

  • BREAKING CHANGE: Dart: use static functions for FlutterBluePlus instead of FlutterBluePlus.instance. Multiple instances is not supported by any platform.

  • [improve] readme: add error handling section

  • [improve] iOS: handle missing bluetooth adapter gracefully

  • [improve] iOS: getAdapterState && getConnectionState are more robust

  • [improve] Android: log method call in debug, and more consistent log messages

  • [improve] Example: show nicer looking errors

  • [improve] Example: prefer try/catch over catchError as dart debugger doesn't work with catchError as well