adhoc_plugin 2.0.4
adhoc_plugin: ^2.0.4 copied to clipboard
Flutter plugin that allows creating and managing a mobile (Android only) ad hoc network
We analyzed this package 2 days ago, and awarded it 130 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
76 out of 89 API elements (85.4 %) have documentation comments.
Some symbols that are missing documentation: adhoc_plugin
, adhoc_plugin.Config.expiryTime
, adhoc_plugin.Config.flood
, adhoc_plugin.Config.label
, adhoc_plugin.Config.public
.
10/10 points: Package has an example
20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Android
These platforms are not supported:
Package does not support platform `iOS`.
Because:
package:adhoc_plugin/adhoc_plugin.dart
that declares support for platforms:Android
.
Package does not support platform `Windows`.
Because:
package:adhoc_plugin/adhoc_plugin.dart
that declares support for platforms:Android
.
Package does not support platform `Linux`.
Because:
package:adhoc_plugin/adhoc_plugin.dart
that declares support for platforms:Android
.
Package does not support platform `macOS`.
Because:
package:adhoc_plugin/adhoc_plugin.dart
that declares support for platforms:Android
.
Package does not support platform `Web`.
Because:
package:adhoc_plugin/adhoc_plugin.dart
that declares support for platforms:Android
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:adhoc_plugin/adhoc_plugin.dart
that imports:package:adhoc_plugin/src/appframework/export.dart
that imports:package:adhoc_plugin/src/appframework/transfer_manager.dart
that imports:package:adhoc_plugin/src/presentation/presentation_manager.dart
that imports:package:adhoc_plugin/src/presentation/group/group_controller.dart
that imports:package:adhoc_plugin/src/presentation/crypto/crypto_engine.dart
that imports:dart:isolate
This package is not compatible with runtime wasm
, and will not be rewarded full points in a future version of the scoring model.
See https://dart.cn/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 16 issues. Showing the first 2:
WARNING: Unused import: 'package:adhoc_plugin/src/datalink/exceptions/no_connection.dart'.
lib/src/network/datalinkmanager/wrapper_network.dart:5:8
╷
5 │ import 'package:adhoc_plugin/src/datalink/exceptions/no_connection.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/network/datalinkmanager/wrapper_network.dart
INFO: The variable name 'GATTSendMessage' isn't a lowerCamelCase identifier.
lib/src/datalink/ble/ble_services.dart:110:23
╷
110 │ static Future<void> GATTSendMessage(MessageAdHoc message, String mac) async {
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/datalink/ble/ble_services.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
cryptography |
^2.0.1 |
2.7.0 | 2.7.0 | |
flutter_reactive_ble |
^3.1.1+1 |
3.1.1+1 | 5.4.0 | |
json_annotation |
^4.0.1 |
4.9.0 | 4.9.0 | |
ninja_prime |
^2.0.0 |
2.0.0 | 2.0.0 | |
pointycastle |
^3.0.1 |
3.9.1 | 4.0.0 | |
uuid |
^3.0.4 |
3.0.7 | 4.5.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.6 | 3.0.6 | |
ffi |
- | 2.1.4 | 2.1.4 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
functional_data |
- | 1.2.0 | 1.2.0 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
pedantic |
- | 1.11.1 | 1.11.1 | Discontinued |
protobuf |
- | 2.1.0 | 5.0.0 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 3 issues. Showing the first 2:
The constraint `^3.1.1+1` on flutter_reactive_ble does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions flutter_reactive_ble
to update the constraint.
The constraint `^3.0.1` on pointycastle does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions pointycastle
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.24
, Flutter 3.35.5
, Dart 3.9.2
.
Check the analysis log for details.