nrf_ble_dfu 0.0.18 copy "nrf_ble_dfu: ^0.0.18" to clipboard
nrf_ble_dfu: ^0.0.18 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.

65/ 160
pub points
100
downloads

We analyzed this package 3 days ago, and awarded it 65 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
25 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("0.0.18").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

57 out of 195 API elements (29.2 %) have documentation comments.

Some symbols that are missing documentation: nrf_ble_dfu, nrf_ble_dfu.AutoBleDfu, nrf_ble_dfu.AutoBleDfu.AutoBleDfu.new, nrf_ble_dfu.AutoBleDfu.warnWhenNoObservables, nrf_ble_dfu.BleConnectedDevice.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
0 / 20trigger folding of the section

Failed check 0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 4 issues. Showing the first 2:

ERROR: The getter 'platform' isn't defined for the type 'FilePicker'.

lib/src/nrf_ble_dfu.dart:93:37

   ╷
93 │     final result = await FilePicker.platform.pickFiles();
   │                                     ^^^^^^^^
   ╵

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 'offset' isn't used.

lib/src/nrf_ble_dfu.dart:139:14

    ╷
139 │     late int offset;
    │              ^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/nrf_ble_dfu.dart

Failed report section
Support up-to-date dependencies
20 / 40trigger folding of the section

Passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
archive >=3.4.10 4.0.9 4.0.9
file_picker >=8.0.2 11.0.2 11.0.2
flutter_blue_plus_windows >=1.23.6 1.26.1 1.26.1
flutter_mobx >=2.2.1+1 2.3.0 2.3.0
mobx >=2.3.3+2 2.6.0 2.6.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 12.0.1 12.0.1
shared_preferences >=2.2.3 2.5.5 2.5.5
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
characters - 1.4.1 1.4.1
code_assets - 1.0.0 1.0.0
collection - 1.19.1 1.19.1
cross_file - 0.3.5+2 0.3.5+2
crypto - 3.0.7 3.0.7
dbus - 0.7.12 0.7.12
ffi - 2.2.0 2.2.0
file - 7.0.1 7.0.1
flutter_blue_plus - 1.34.5 2.2.1
flutter_plugin_android_lifecycle - 2.0.34 2.0.34
glob - 2.1.3 2.1.3
hooks - 1.0.2 1.0.2
jni - 1.0.0 1.0.0
jni_flutter - 1.0.1 1.0.1
logging - 1.3.0 1.3.0
material_color_utilities - 0.13.0 0.13.0
meta - 1.17.0 1.18.2
native_toolchain_c - 0.17.6 0.17.6
nested - 1.0.0 1.0.0
objective_c - 9.3.0 9.3.0
package_config - 2.2.0 2.2.0
path_provider_android - 2.3.1 2.3.1
path_provider_foundation - 2.6.0 2.6.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
permission_handler_android - 13.0.1 13.0.1
permission_handler_apple - 9.4.7 9.4.7
permission_handler_html - 0.1.3+5 0.1.3+5
permission_handler_platform_interface - 4.3.0 4.3.0
permission_handler_windows - 0.2.1 0.2.1
petitparser - 7.0.2 7.0.2
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
posix - 6.5.0 6.5.0
provider - 6.1.5+1 6.1.5+1
pub_semver - 2.2.0 2.2.0
shared_preferences_android - 2.4.23 2.4.23
shared_preferences_foundation - 2.5.6 2.5.6
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.2 2.4.2
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
source_span - 1.10.2 1.10.2
stream_with_value - 0.5.0 0.5.0
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_math - 2.2.0 2.3.0
web - 1.1.1 1.1.1
win32 - 5.15.0 6.0.1
win_ble - 1.1.1 1.1.1
xdg_directories - 1.1.0 1.1.0
xml - 6.6.1 6.6.1
yaml - 3.1.3 3.1.3

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 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:122: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.23.12, Flutter 3.41.6, Dart 3.11.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
6
likes
65
points
100
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

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.

Repository (GitHub)
View/report issues

Topics

#nordic #nrf #ble #dfu

License

MIT (license)

Dependencies

archive, file_picker, flutter, flutter_blue_plus_windows, flutter_mobx, mobx, path, path_provider, permission_handler, shared_preferences

More

Packages that depend on nrf_ble_dfu