flutter_blue_ultra_accessory_setup 0.1.1 copy "flutter_blue_ultra_accessory_setup: ^0.1.1" to clipboard
flutter_blue_ultra_accessory_setup: ^0.1.1 copied to clipboard

PlatformiOS

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.1 #

  • Fix: Create the native ASAccessorySession lazily on first ASK call instead of at plugin registration. Embedding the plugin no longer crashes an app at launch when its Info.plist lacks the NSAccessorySetupKitSupports keys — the crash is now only reachable if the app actually calls into AccessorySetupKit without the keys.
  • Docs: Correct the required Info.plist keys. The runtime validates NSAccessorySetupKitSupports at ASAccessorySession init and fatal-errors without it, while Apple documents NSAccessorySetupSupports; the READMEs now tell apps to declare both.

0.1.0 #

  • Breaking: Replace the dart:ffi/objective_c bridge 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 the ASAccessory* enums are replaced by plain Dart types (Accessory, AccessoryEvent, AccessoryEventType, AccessoryState, PickerDisplayItem, RenameOptions, AccessorySettings).
  • Remove the objective_c and ffi dependencies; add meta (used by the generated Pigeon bindings).
  • The native ASAccessorySession is now a singleton owned by the plugin.

0.0.4 #

  • Prepare package metadata for pub.dev release.
  • Pin objective_c to >=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 StateError on dispose() instead of leaking them.
  • Reject overlapping showPickerForDevice / showPickerForItems calls instead of orphaning the previous Completer.
  • Guard renameAccessory, removeAccessory, and finishAuthorization against concurrent invocations.
  • Respect ByteData.offsetInBytes and lengthInBytes when converting to NSData.
  • iOS: serialize the internal log buffer through a serial DispatchQueue to 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
0
likes
150
points
181
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

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.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#ios #bluetooth #ble #accessorysetupkit

License

BSD-3-Clause (license)

Dependencies

flutter, meta, plugin_platform_interface

More

Packages that depend on flutter_blue_ultra_accessory_setup

Packages that implement flutter_blue_ultra_accessory_setup