carp_connectivity_package 1.9.0
carp_connectivity_package: ^1.9.0 copied to clipboard
CARP connectivity sampling package. Samples connectivity status, bluetooth devices, and wifi access points.
We analyzed this package 3 days 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
208 out of 256 API elements (81.3 %) have documentation comments.
Some symbols that are missing documentation: connectivity.BeaconData.BeaconData.fromJson, connectivity.BeaconData.addBeaconDevice, connectivity.BeaconData.addBeaconDevicesFromRangingResults, connectivity.BeaconData.dataType, connectivity.BeaconDevice.BeaconDevice.fromJson.
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:carp_connectivity_package/connectivity.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:carp_connectivity_package/connectivity.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:carp_connectivity_package/connectivity.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:carp_connectivity_package/connectivity.dartthat declares support for platforms:Android,iOS.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:carp_connectivity_package/connectivity.dartthat imports:package:carp_mobile_sensing/carp_mobile_sensing.dartthat imports:package:carp_mobile_sensing/services.dartthat imports:package:package_info_plus/package_info_plus.dartthat imports:package:package_info_plus/src/package_info_plus_windows.dartthat imports:package:package_info_plus/src/file_version_info.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package does not support platform `iOS`.
Because:
package:carp_connectivity_package/connectivity.dartthat imports:package:carp_mobile_sensing/carp_mobile_sensing.dartthat imports:package:carp_mobile_sensing/services.dartthat imports:package:package_info_plus/package_info_plus.dartthat imports:package:package_info_plus/src/package_info_plus_windows.dartthat imports:package:package_info_plus/src/file_version_info.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:carp_connectivity_package/connectivity.dartthat imports:package:carp_mobile_sensing/carp_mobile_sensing.dartthat imports:package:carp_mobile_sensing/services.dartthat imports:package:package_info_plus/package_info_plus.dartthat imports:package:package_info_plus/src/package_info_plus_linux.dartthat 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.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 5 issues. Showing the first 2:
INFO: The constant name 'CONNECTIVITY' isn't a lowerCamelCase identifier.
lib/connectivity_package.dart:9:23
╷
9 │ static const String CONNECTIVITY = "${NameSpace.CARP}.connectivity";
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/connectivity_package.dart
INFO: The constant name 'BLUETOOTH' isn't a lowerCamelCase identifier.
lib/connectivity_package.dart:15:23
╷
15 │ static const String BLUETOOTH = "${NameSpace.CARP}.bluetooth";
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/connectivity_package.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
carp_core |
^1.8.0 |
1.9.4 | 1.9.4 | |
carp_mobile_sensing |
^1.10.0 |
1.13.1 | 1.13.1 | |
carp_serializable |
^2.0.0 |
2.0.1 | 2.0.1 | |
connectivity_plus |
^6.0.0 |
6.1.5 | 7.0.0 | |
crypto |
^3.0.0 |
3.0.6 | 3.0.6 | |
dchs_flutter_beacon |
^0.6.4 |
0.6.6 | 0.6.6 | |
flutter_blue_plus |
^1.35.0 |
1.36.8 | 2.0.0 | |
json_annotation |
^4.8.0 |
4.9.0 | 4.9.0 | |
network_info_plus |
^6.0.0 |
6.1.4 | 7.0.0 | |
permission_handler |
>=11.0.0 <13.0.0 |
11.4.0 | 12.0.1 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 3 issues. Showing the first 2:
The constraint `^6.0.0` on connectivity_plus does not support the stable version `7.0.0`.
Try running dart pub upgrade --major-versions connectivity_plus to update the constraint.
The constraint `^1.35.0` on flutter_blue_plus does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions flutter_blue_plus 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.23.0, Flutter 3.35.7, Dart 3.9.2.
Check the analysis log for details.