flutter_accessorysetup 0.0.3 copy "flutter_accessorysetup: ^0.0.3" to clipboard
flutter_accessorysetup: ^0.0.3 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 uses AccessorySetupKit through FFI.

5
likes
100/ 160
pub points
34
downloads

We analyzed this package 2 days ago, and awarded it 100 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

731 out of 850 API elements (86.0 %) have documentation comments.

Some symbols that are missing documentation: accessory_setup_bindings, accessory_setup_bindings.ASAccessory.ref, accessory_setup_bindings.ASAccessoryEvent.ref, accessory_setup_bindings.ASAccessoryEventType, accessory_setup_bindings.ASAccessoryEventType.fromValue.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ iOS

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:flutter_accessorysetup/flutter_accessorysetup.dart that declares support for platforms: iOS.
Package does not support platform `Windows`.

Because:

  • package:flutter_accessorysetup/flutter_accessorysetup.dart that declares support for platforms: iOS.
Package does not support platform `Linux`.

Because:

  • package:flutter_accessorysetup/flutter_accessorysetup.dart that declares support for platforms: iOS.
Package does not support platform `macOS`.

Because:

  • package:flutter_accessorysetup/flutter_accessorysetup.dart that declares support for platforms: iOS.
Package does not support platform `Web`.

Because:

  • package:flutter_accessorysetup/flutter_accessorysetup.dart that declares support for platforms: iOS.

Failed check 0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 6 issues. Showing the first 2:

ERROR: 6 positional arguments expected by 'ObjCProtocolListenableMethod.new', but 5 found.

lib/gen/ios/accessory_setup_bindings.dart:2147:124

     ╷
2147 │         ObjCBlock_ffiVoid_ffiVoid_ASAccessoryEvent.listener((ffi.Pointer<ffi.Void> _, ASAccessoryEvent arg1) => func(arg1)),
     │                                                                                                                            ^
     ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/gen/ios/accessory_setup_bindings.dart

ERROR: 6 positional arguments expected by 'ObjCProtocolListenableMethod.new', but 5 found.

lib/gen/ios/accessory_setup_bindings.dart:2163:112

     ╷
2163 │         ObjCBlock_ffiVoid_ffiVoid_NSError.listener((ffi.Pointer<ffi.Void> _, objc.NSError? arg1) => func(arg1)),
     │                                                                                                                ^
     ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/gen/ios/accessory_setup_bindings.dart

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
ffi ^2.1.3 2.1.4 2.1.4
objective_c ^4.0.0 4.1.0 8.0.0
plugin_platform_interface ^2.0.2 2.1.8 2.1.8
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
vector_math - 2.1.4 2.2.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^4.0.0` on objective_c does not support the stable version `5.0.0`.

Try running dart pub upgrade --major-versions objective_c to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.21, Flutter 3.32.4, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
5
likes
100
points
34
downloads

Publisher

verified publisherwithintent.com

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 uses AccessorySetupKit through FFI.

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

ffi, flutter, objective_c, plugin_platform_interface

More

Packages that depend on flutter_accessorysetup