flutter_accessorysetup 0.0.3
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.
We analyzed this package 2 days ago, and awarded it 100 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: BSD-3-Clause
.
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
.
10/10 points: Package has an example
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
.
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.
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
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.
10/10 points: Package supports latest stable Dart and Flutter SDKs
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.