nrf_ble_dfu 0.0.17 nrf_ble_dfu: ^0.0.17 copied to clipboard
The Nordic DFU over BLE library helps enable firmware updates of BLE devices over Bluetooth Low Energy (BLE), for Windows, Android, iOS, Linux and macOS.
We analyzed this package 2 days ago, and awarded it 120 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
1098 out of 1414 API elements (77.7 %) have documentation comments.
Some symbols that are missing documentation: nrf_ble_dfu
, nrf_ble_dfu.AsyncError.error
, nrf_ble_dfu.AutoBleDfu
, nrf_ble_dfu.AutoBleDfu.AutoBleDfu
, nrf_ble_dfu.BadCertificateCallback
.
10/10 points: Package has an example
20/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ macOS
These platforms are not supported:
Package does not support platform `Linux`.
Because:
package:nrf_ble_dfu/nrf_ble_dfu.dart
that declares support for platforms:Android
,iOS
,Windows
,macOS
.
Package does not support platform `Web`.
Because:
package:nrf_ble_dfu/nrf_ble_dfu.dart
that declares support for platforms:Android
,iOS
,Windows
,macOS
.
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:nrf_ble_dfu/nrf_ble_dfu.dart
that imports:package:nrf_ble_dfu/src/index.dart
that imports:package:nrf_ble_dfu/src/widget/widget.dart
that imports:package:nrf_ble_dfu/src/widget/ble_device_select.dart
that imports:package:flutter_blue_plus_windows/flutter_blue_plus_windows.dart
that imports:package:win_ble/win_file.dart
that declares support for platforms:Windows
.
Package does not support platform `iOS`.
Because:
package:nrf_ble_dfu/nrf_ble_dfu.dart
that imports:package:nrf_ble_dfu/src/index.dart
that imports:package:nrf_ble_dfu/src/widget/widget.dart
that imports:package:nrf_ble_dfu/src/widget/ble_device_select.dart
that imports:package:flutter_blue_plus_windows/flutter_blue_plus_windows.dart
that imports:package:win_ble/win_file.dart
that declares support for platforms:Windows
.
Package does not support platform `Windows`.
Because:
package:nrf_ble_dfu/nrf_ble_dfu.dart
that imports:package:nrf_ble_dfu/src/index.dart
that imports:package:nrf_ble_dfu/src/widget/widget.dart
that imports:package:nrf_ble_dfu/src/widget/ble_device_select.dart
that imports:package:flutter_blue_plus_windows/flutter_blue_plus_windows.dart
that imports:package:flutter_blue_plus/flutter_blue_plus.dart
that declares support for platforms:Android
,iOS
,macOS
.
Package does not support platform `macOS`.
Because:
package:nrf_ble_dfu/nrf_ble_dfu.dart
that imports:package:nrf_ble_dfu/src/index.dart
that imports:package:nrf_ble_dfu/src/widget/widget.dart
that imports:package:nrf_ble_dfu/src/widget/ble_device_select.dart
that imports:package:flutter_blue_plus_windows/flutter_blue_plus_windows.dart
that imports:package:win_ble/win_file.dart
that declares support for platforms:Windows
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:nrf_ble_dfu/nrf_ble_dfu.dart
that imports:package:nrf_ble_dfu/src/index.dart
that imports:package:nrf_ble_dfu/src/widget/widget.dart
that imports:package:nrf_ble_dfu/src/widget/ble_device_select.dart
that imports:package:flutter_blue_plus_windows/flutter_blue_plus_windows.dart
that imports:package:win_ble/win_file.dart
that imports:package:path_provider/path_provider.dart
that imports:package:path_provider_platform_interface/path_provider_platform_interface.dart
that imports:package:path_provider_platform_interface/src/method_channel_path_provider.dart
that imports:package:platform/platform.dart
that imports:package:platform/src/interface/local_platform.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.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 5 issues. Showing the first 2:
WARNING: The value of the local variable 'offset' isn't used.
lib/src/nrf_ble_dfu.dart:128:14
╷
128 │ late int offset;
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/nrf_ble_dfu.dart
WARNING: The value of the local variable 'crc' isn't used.
lib/src/nrf_ble_dfu.dart:129:14
╷
129 │ late int crc;
│ ^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/nrf_ble_dfu.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
archive |
>=3.4.10 |
4.0.2 | 4.0.2 |
file_picker |
>=8.0.2 |
8.1.7 | 8.1.7 |
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_blue_plus_windows |
>=1.23.6 |
1.25.0 | 1.25.0 |
flutter_mobx |
>=2.2.1+1 |
2.3.0 | 2.3.0 |
mobx |
>=2.3.3+2 |
2.5.0 | 2.5.0 |
path |
>=1.9.0 |
1.9.1 | 1.9.1 |
path_provider |
>=2.1.3 |
2.1.5 | 2.1.5 |
permission_handler |
>=11.3.1 |
11.3.1 | 11.3.1 |
shared_preferences |
>=2.2.3 |
2.3.5 | 2.3.5 |
Transitive dependencies
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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 1 error:
USE_OF_VOID_RESULT
-lib/src/nrf_ble_dfu.dart:113:11
- This expression has a type of 'void' so its value can't be used.
Run flutter pub downgrade
and then flutter analyze
to reproduce the above problem.
You may run dart pub upgrade --tighten
to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.22.17
, Flutter 3.27.0
, Dart 3.6.0
.
Check the analysis log for details.