flutter_blue_ultra_accessory_setup 0.1.0
flutter_blue_ultra_accessory_setup: ^0.1.0 copied to clipboard
Use it to discover and configure Bluetooth or Wi-Fi accessories with images and names provided by the app. Works on iOS 18 and above, and bridges AccessorySetupKit through platform channels.
0.1.0 #
- Breaking: Replace the
dart:ffi/objective_cbridge with Pigeon-based platform channels. The plugin is now a pure-Swift Flutter plugin and supports Swift Package Manager without CocoaPods. - Breaking: The public API no longer exposes Objective-C types.
ASAccessory,ASAccessoryEvent, and theASAccessory*enums are replaced by plain Dart types (Accessory,AccessoryEvent,AccessoryEventType,AccessoryState,PickerDisplayItem,RenameOptions,AccessorySettings). - Remove the
objective_candffidependencies; addmeta(used by the generated Pigeon bindings). - The native
ASAccessorySessionis now a singleton owned by the plugin.
0.0.4 #
- Prepare package metadata for pub.dev release.
- Pin
objective_cto>=4.0.0 <4.1.0— the generated FFI bindings reference pre-DOBJC_symbol names introduced in 4.1.0. - Exclude local build and development files from published archives.
- Make the event stream a broadcast controller so multiple listeners can subscribe.
- Complete pending picker/rename/remove/authorization futures with a
StateErrorondispose()instead of leaking them. - Reject overlapping
showPickerForDevice/showPickerForItemscalls instead of orphaning the previousCompleter. - Guard
renameAccessory,removeAccessory, andfinishAuthorizationagainst concurrent invocations. - Respect
ByteData.offsetInBytesandlengthInByteswhen converting toNSData. - iOS: serialize the internal log buffer through a serial
DispatchQueueto remove a data race.
0.0.3 #
- Migration to dart:ffi
- Add support for WiFi
0.0.2 #
- Minor readme updates
0.0.1 #
- Introduce basic support for AccessorySetupKit for BLE