mtrust_urp_ble_strategy 8.0.1 mtrust_urp_ble_strategy: ^8.0.1 copied to clipboard
BLE Connection Strategy for URP
We analyzed this package 8 days ago, and awarded it 130 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description
field of pubspec.yaml
. Use 60 to 180 characters to describe the package, what it does, and its target use case.
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: Apache-2.0
.
10/10 points: 20% or more of the public API has dartdoc comments
21 out of 37 API elements (56.8 %) have documentation comments.
Some symbols that are missing documentation: mtrust_urp_ble_strategy
, mtrust_urp_ble_strategy.BleNotEnabledException
, mtrust_urp_ble_strategy.BleNotEnabledException.BleNotEnabledException
, mtrust_urp_ble_strategy.BleUnsupportedException
, mtrust_urp_ble_strategy.BleUnsupportedException.BleUnsupportedException
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ macOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:mtrust_urp_ble_strategy/mtrust_urp_ble_strategy.dart
that imports:package:mtrust_urp_ble_strategy/src/ble_strategy.dart
that imports:package:mtrust_urp_ble_strategy/src/found_ble_device.dart
that imports:package:flutter_blue_plus/flutter_blue_plus.dart
that declares support for platforms:Android
,iOS
,macOS
.
Package does not support platform `Linux`.
Because:
package:mtrust_urp_ble_strategy/mtrust_urp_ble_strategy.dart
that imports:package:mtrust_urp_ble_strategy/src/ble_strategy.dart
that imports:package:mtrust_urp_ble_strategy/src/found_ble_device.dart
that imports:package:flutter_blue_plus/flutter_blue_plus.dart
that declares support for platforms:Android
,iOS
,macOS
.
Package does not support platform `Web`.
Because:
package:mtrust_urp_ble_strategy/mtrust_urp_ble_strategy.dart
that imports:package:mtrust_urp_ble_strategy/src/ble_strategy.dart
that imports:package:mtrust_urp_ble_strategy/src/found_ble_device.dart
that imports:package:flutter_blue_plus/flutter_blue_plus.dart
that declares support for platforms:Android
,iOS
,macOS
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:mtrust_urp_ble_strategy/mtrust_urp_ble_strategy.dart
that imports:package:mtrust_urp_ble_strategy/src/ble_strategy.dart
that imports:package:mtrust_urp_ble_strategy/src/found_ble_device.dart
that imports:package:mtrust_urp_core/mtrust_urp_core.dart
that imports:package:mtrust_urp_core/src/log.dart
that imports:package:logger/logger.dart
that imports:package:logger/src/outputs/advanced_file_output_stub.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.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
INFO: Uses 'await' on an instance of 'List
lib/src/ble_strategy.dart:160:28
╷
160 │ var alreadyConnected = await FlutterBluePlus.connectedDevices;
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/ble_strategy.dart
INFO: Missing a corresponding override of 'hashCode'.
lib/src/found_ble_device.dart:20:17
╷
20 │ bool operator ==(Object other) {
│ ^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/found_ble_device.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
^2.11.0 |
2.12.0 | 2.12.0 |
collection |
^1.18.0 |
1.19.0 | 1.19.1 |
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_blue_plus |
^1.32.11 |
1.34.5 | 1.34.5 |
freezed_annotation |
^2.0.3 |
2.4.4 | 2.4.4 |
json_annotation |
^4.8.1 |
4.9.0 | 4.9.0 |
mtrust_urp_core |
^8.0.1 |
8.0.1 | 8.0.1 |
provider |
^6.0.2 |
6.1.2 | 6.1.2 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
args |
- | 2.6.0 | 2.6.0 |
characters |
- | 1.3.0 | 1.4.0 |
ffi |
- | 2.1.3 | 2.1.3 |
file |
- | 7.0.1 | 7.0.1 |
fixnum |
- | 1.1.1 | 1.1.1 |
flutter_animate |
- | 4.5.2 | 4.5.2 |
flutter_shaders |
- | 0.1.3 | 0.1.3 |
flutter_svg |
- | 2.0.16 | 2.0.16 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
http |
- | 1.2.2 | 1.2.2 |
http_parser |
- | 4.1.1 | 4.1.1 |
logger |
- | 2.5.0 | 2.5.0 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.16.0 |
mtrust_urp_types |
- | 4.1.0 | 4.1.0 |
nested |
- | 1.0.0 | 1.0.0 |
path |
- | 1.9.1 | 1.9.1 |
path_parsing |
- | 1.1.0 | 1.1.0 |
path_provider_linux |
- | 2.2.1 | 2.2.1 |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 |
path_provider_windows |
- | 2.3.0 | 2.3.0 |
petitparser |
- | 6.0.2 | 6.0.2 |
platform |
- | 3.1.6 | 3.1.6 |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 |
protobuf |
- | 3.1.0 | 3.1.0 |
shared_preferences |
- | 2.3.4 | 2.3.4 |
shared_preferences_android |
- | 2.4.0 | 2.4.0 |
shared_preferences_foundation |
- | 2.5.4 | 2.5.4 |
shared_preferences_linux |
- | 2.4.1 | 2.4.1 |
shared_preferences_platform_interface |
- | 2.4.1 | 2.4.1 |
shared_preferences_web |
- | 2.4.2 | 2.4.2 |
shared_preferences_windows |
- | 2.4.1 | 2.4.1 |
sky_engine |
- | 0.0.0 | 0.0.0 |
source_span |
- | 1.10.1 | 1.10.1 |
string_scanner |
- | 1.4.1 | 1.4.1 |
term_glyph |
- | 1.2.2 | 1.2.2 |
typed_data |
- | 1.4.0 | 1.4.0 |
vector_graphics |
- | 1.1.15 | 1.1.15 |
vector_graphics_codec |
- | 1.1.12 | 1.1.12 |
vector_graphics_compiler |
- | 1.1.16 | 1.1.16 |
vector_math |
- | 2.1.4 | 2.1.4 |
web |
- | 1.1.0 | 1.1.0 |
xdg_directories |
- | 1.1.0 | 1.1.0 |
xml |
- | 6.5.0 | 6.5.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
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.17
, Flutter 3.27.0
, Dart 3.6.0
.
Check the analysis log for details.