Releases: chipweinberger/flutter_blue_plus
Releases · chipweinberger/flutter_blue_plus
1.7.6
- [fix] Dart: BmBluetoothService.is_primary was not set (regression in 1.7.0)
- [fix] Android: BmAdvertisementData.connectable was not set (regression in 1.7.0)
- [fix] Android: success was not set for writeCharacteristic, setNotification, writeDescriptor (regression in 1.7.0)
- [improve] Android: update to gradle 8
- [improve] Android: dont request ACCESS_FINE_LOCATION by default (Android 12+)
1.7.5
- [fix] Android: BluetoothAdapterState not being updated
- [improve] Example: fix deprecations
- [improve] Dart: remove analysis_options.yaml
1.7.4
- [fix] Android: Android 13 access fine location error
1.7.3
- [fix] Android: exception thrown when descriptor.write is called (regression in 1.7.0)
1.7.2
- [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
- [fix] iOS: when connecting, exception is thrown (regression in 1.7.0)
1.7.0
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
- [fix] Android: compile error (regression in 1.6.0)
- [improve] Android: significantly clean up all code
1.6.0
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
-
Android: Add clear gatt cache method #142 (thanks to joistaus)
-
Android: Opt-out of the
neverForLocation
permission flag for theBLUETOOTH_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)