- [Android] Fixes error on start broadcasting
- [Android] Added advertiseSet parameter to AdvertiseSettings to enable advertiseSet on Android o and higher devices.
- [iOS & macOS] Fixed an issue which caused the first advertisement not to be broadcast.
- [Android] Fixed requestPermission not working correctly.
- [Android] Fixed serviceUuid not working. (thanks @Shik1266 !)
- [Android] Updated compileSdk to 34.
- Fix build errors & crash on Windows
- Upgrade gradle to 8.1
Improvements:
- Added support for windows
- Updated bluetooth permissions system for Android, no need for permission handler anymore.
- Updated dependencies and several other small improvements.
Bugs fixed:
- Fixed an issue which caused the enableBluetooth function to reply twice.
- Fixed analyzer issues
- Upgraded dependencies
Upgraded android sdk to 33. Added permission check on enableBluetooth function.
Stable release including the changes noted in the beta releases. This release also updates Android dependencies.
Fixed macOS version not working
BREAKING CHANGES: You now define the data to be advertised using the AdvertiseData() constructor. AdvertiseData is the only supported object in iOS. AdvertiseSettings and other objects are only supported on Android.
NEW:
- You can now make use of the new startAdvertisingSet parameter on Android 26+
- Refactored large parts of the code for both Android & iOS.
- Upgraded Android to Android 12 permission system.
- Other minor improvements
Changes of 0.5.0 weren't visible on pub.dev
Added isSupported function to check if BLE advertising is supported by the device.
Fixed typo causing deviceName not to broadcast on iOS
Fixed bug on iOS which led to crash Added local name to advertising in iOS Updated Android dependencies
Added new options to AdvertiseData Removed embedding V1 for Android
Upgraded to null-safety Updated dependencies Changed to pedantic
Bug fixes
- Fixed null-pointer when bluetooth adapter isn't found
Add support for MacOS
Fixed several parts for Android:
- Advertising local name
- Advertising Manufacturer Data
- Advertising Service Data
Fixed iOS advertising not working
Fixed callback on Android
Fixed flutter v2 embedding
Initial version of the library. This version includes:
- broadcasting a custom UUID