Skip to content

Releases: chipweinberger/flutter_blue_plus

1.7.2

16 Jul 23:25
Compare
Choose a tag to compare
  • [fix] Android: exception thrown when characteristic.write is called (regression in 1.7.0)
  • [fix] Android: bmCharacteristicProperties was not being set correctly (regression in 1.7.0)

1.7.1

14 Jul 23:38
Compare
Choose a tag to compare
  • [fix] iOS: when connecting, exception is thrown (regression in 1.7.0)

1.7.0

14 Jul 23:23
Compare
Choose a tag to compare

This release removes Protobuf.

  • [refactor] removed protobuf dependency
  • [fix] Android: turnOn and turnOff not working (regression in 1.6.1)
  • [fix] Dart: guid exception with serviceUUID is empty
  • [improve] Android: compileSdkVersion 31 -> 33
  • [improve] Android: increase minSdkVersion 19 -> 21 to remove lollipop checks
  • [improve] Android: FineLocation permission is now optional. See startScan
  • [improve] iOS: allow connecting without scanning if you save and reuse the remote_id

1.6.1

10 Jun 02:50
Compare
Choose a tag to compare
  • [fix] Android: compile error (regression in 1.6.0)
  • [improve] Android: significantly clean up all code

1.6.0

10 Jun 02:50
Compare
Choose a tag to compare

This release reformats a bunch of Android code.

  • [fix] Dart: close BufferStream listen on stopScan
  • [improve] Dart: don't repropogate Mutex error
  • [improve] Dart: better stacktrace on error for Characteristic Read/Write
  • [improve] MacOS: use symbolic links to iOS version, to keep internal code in sync
  • [improve] Android: reformat code

1.5.2

  • [fix] Android: setNotification was throwing exception (regression)

1.5.1

  • [fix] Dart: issue where startScan can hang forever (regression)
  • [fix] Dart: some scanResults could be missed due to race condition (theoretically)
  • [improve] Dart: dont export util classes & functions. they've been made library-private.
  • [improve] iOS: prepend all iOS logs with '[FBP-iOS]' prefix
  • [improve] iOS: log errors on failure
  • [improve] iOS: logs now adhere to logLevel

1.5.0

This release closes many open issues on Github.

  • [fix] Dart: writeCharacteristic (and other similar functions) exception could be missed
  • [fix] Dart: setNotifyValue should check for success and throw error on failure
  • [fix] Dart: race conditions in connect(), disconnect(), readRssi(), writeCharacteristic(), readCharacteristic()
  • [fix] iOS: Bluetooth adapter being stuck in unknown state
  • [fix] iOS: dropping packets during bulk write without response
  • [fix] Example: android permissions
  • [improve] Dart: add isScanningNow variable
  • [improve] add support for macOS
  • [improve] Android: replace deprecated bluetooth enable with 'Enable-Intent'
  • [improve] Android: Removed maxSdkVersion=30 in manifest
  • [improve] Android: add function: setPreferredPh
  • [improve] Android: add function: removeBond
  • [improve] Android: add function: requestConnectionPriority
  • [improve] Android: allow for simultaneous MAC and ServiceUuid ScanFilters
  • [improve] Android: request location permission on Android 12+ when scanning (needed on some phones)
  • [improve] iOS: Use CBCentralManagerOptionShowPowerAlertKey for better UI popups
  • [improve] Dart: Removed RxDart and other dependencies

1.4.0

12 Jan 23:41
Compare
Choose a tag to compare
  • Android: Add clear gatt cache method #142 (thanks to joistaus)

  • Android: Opt-out of the neverForLocation permission flag for the BLUETOOTH_SCAN permission. (thanks to navaronbracke)

    If neverForLocation is desired,
    opt back into the old behavior by adding an explicit entry to your Android Manifest:

    <uses-permission android:name="android.permission.BLUETOOTH_SCAN"
      android:usesPermissionFlags="neverForLocation" />
    
  • Android: Scan BLE long range -devices #139 (thanks to jonik-dev)

  • Android: Prevent deprecation warnings #107 (thanks to sqcsabbey)

  • Allow native implementation to handle pairing request #109 (thanks to JRazek)

1.3.1

18 Aug 15:47
Compare
Choose a tag to compare
  • Reverted: Ios: fixed manufacturer data parsing #104 (thanks to sqcsabbey)

1.3.0

04 Aug 17:46
Compare
Choose a tag to compare
  • Ios: fixed manufacturer data parsing #104 (thanks to sqcsabbey)
  • Ios: Fixed an error when calling the connect method of a connected device #106 (thanks to figureai)
  • Android: Scan Filter by Mac Address #57 (thanks to Zyr00)
  • Upgrading to linter 2.0.1, excluding generated ProtoBuf files from linting. (thanks to MrCsabaToth)

1.2.0

23 Jul 23:07
Compare
Choose a tag to compare
  • connect timeout fixed (thanks to crazy-rodney, sophisticode, SkuggaEdward, MousyBusiness and cthurston)
  • Add timestamp field to ScanResult class #59 (thanks to simon-iversen)
  • Add FlutterBlue.name to get the human readable device name #93 (thanks to mvo5)
  • Fix bug where if there were multiple subscribers to FlutterBlue.state and one cancelled it would accidentally cancel all subscribers (thank to MacMalainey and MrCsabaToth)

1.1.3

09 Apr 10:28
Compare
Choose a tag to compare
  • Read RSSI from a connected BLE device #1 (thanks to sophisticode)
  • Fixed a crash on Android OS 12 (added check for BLUETOOTH_CONNECT permission) (fixed by dspells)
  • Added BluetoothDevice constructor from id (MAC address) (thanks to tanguypouriel)
  • The previous version wasn't disconnecting properly and the device could be still connected under the hood as the cancel() was not called. (fixed by killalad)
  • dependencies update (min micro version updating)