cross_p2p_network 1.0.2
cross_p2p_network: ^1.0.2 copied to clipboard
A cross-platform Flutter plugin for P2P attendance systems with Wi-Fi Aware and hotspot support
We analyzed this package 23 hours ago, and awarded it 140 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: MIT
.
10/10 points: 20% or more of the public API has dartdoc comments
96 out of 241 API elements (39.8 %) have documentation comments.
Some symbols that are missing documentation: cross_p2p_network
, cross_p2p_network.CrossP2PNetwork
, cross_p2p_network.CrossP2PNetwork.CrossP2PNetwork.new
, cross_p2p_network.CrossP2PNetwork.currentNetwork
, cross_p2p_network.CrossP2PNetwork.currentNode
.
10/10 points: Package has an example
20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:cross_p2p_network/cross_p2p_network.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Linux`.
Because:
package:cross_p2p_network/cross_p2p_network.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `macOS`.
Because:
package:cross_p2p_network/cross_p2p_network.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Web`.
Because:
package:cross_p2p_network/cross_p2p_network.dart
that declares support for platforms:Android
,iOS
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:cross_p2p_network/cross_p2p_network.dart
that imports:package:mqtt_client/mqtt_server_client.dart
that imports:dart:io
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.
0/0 points: Swift Package Manager support
Package does not support the Swift Package Manager on iOS
It does not contain ios/cross_p2p_network/Package.swift
.
This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.
See https://docs.flutter.dev/to/spm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 6 issues. Showing the first 2:
/tmp/pana_CMORVJ/lib/cross_p2p_network.dart doesn't match the Dart formatter.
To format your files run: dart format .
/tmp/pana_CMORVJ/lib/cross_p2p_network_method_channel.dart doesn't match the Dart formatter.
To format your files run: dart format .
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
connectivity_plus |
^7.0.0 |
7.0.0 | 7.0.0 | |
convert |
^3.1.2 |
3.1.2 | 3.1.2 | |
crypto |
^3.0.6 |
3.0.6 | 3.0.6 | |
dev |
^1.0.0 |
1.0.0 | 1.0.0 | |
device_info_plus |
^12.1.0 |
12.1.0 | 12.1.0 | |
hive |
^2.2.3 |
2.2.3 | 2.2.3 | |
hive_flutter |
^1.1.0 |
1.1.0 | 1.1.0 | |
logger |
^2.6.1 |
2.6.1 | 2.6.1 | |
mqtt5_client |
^4.14.0 |
4.14.0 | 4.14.0 | |
mqtt_client |
^10.11.1 |
10.11.1 | 10.11.1 | |
network_info_plus |
^7.0.0 |
7.0.0 | 7.0.0 | |
path |
^1.9.1 |
1.9.1 | 1.9.1 | |
path_provider |
^2.1.5 |
2.1.5 | 2.1.5 | |
permission_handler |
^12.0.1 |
12.0.1 | 12.0.1 | |
platform_device_id |
^1.0.1 |
1.0.1 | 1.0.1 | |
plugin_platform_interface |
^2.0.2 |
2.1.8 | 2.1.8 | |
rxdart |
^0.28.0 |
0.28.0 | 0.28.0 | |
shared_preferences |
^2.5.3 |
2.5.3 | 2.5.3 | |
stream_transform |
^2.1.1 |
2.1.1 | 2.1.1 | |
uuid |
^4.5.1 |
4.5.1 | 4.5.1 | |
wifi_info_flutter |
^2.0.2 |
2.0.2 | 2.0.2 | Discontinued |
workmanager |
^0.9.0+3 |
0.9.0+3 | 0.9.0+3 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The package has one or more discontinued direct dependencies.
Discontinued packages are no longer maintained, and can end up being a
liability.
Consider migrating away from these dependencies:
- wifi_info_flutter.
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.23
, Flutter 3.35.5
, Dart 3.9.2
.
Check the analysis log for details.