viam_flutter_provisioning 0.0.15 copy "viam_flutter_provisioning: ^0.0.15" to clipboard
viam_flutter_provisioning: ^0.0.15 copied to clipboard

Plugin to provision Viam machines using bluetooth and other methods

130/ 160
pub points
394
downloads

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

Passed report section
Follow Dart file conventions
30 / 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

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

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

Detected licenses: Apache-2.0, MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

136 out of 364 API elements (37.4 %) have documentation comments.

Some symbols that are missing documentation: viam_bluetooth_provisioning, viam_bluetooth_provisioning.AddOrUpdate, viam_bluetooth_provisioning.AdvertisementData, viam_bluetooth_provisioning.AdvertisementData.AdvertisementData.fromProto, viam_bluetooth_provisioning.AdvertisementData.AdvertisementData.new.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

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

  • ✓ Android

  • ✓ iOS

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:viam_flutter_provisioning/viam_bluetooth_provisioning.dart that imports:
  • package:flutter_blue_plus/flutter_blue_plus.dart that declares support for platforms: Android, iOS, Linux, macOS, Web.

These issues are present but do not affect the score, because they may not originate in your package:

Package not compatible with platform Web

Because:

  • package:viam_flutter_provisioning/viam_bluetooth_provisioning.dart that imports:
  • package:flutter_blue_plus/flutter_blue_plus.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:viam_flutter_provisioning/viam_bluetooth_provisioning.dart that imports:
  • package:flutter_blue_plus/flutter_blue_plus.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.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 5 issues. Showing the first 2:

INFO: Missing type annotation.

lib/src/bluetooth_device_extensions.dart:17:43

   ╷
17 │   Future<BluetoothService> getBleService({attempts = 2}) async {
   │                                           ^^^^^^^^
   ╵

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

/tmp/pana_QLVSSH/lib/src/bluetooth_device_extensions.dart doesn't match the Dart formatter.

To format your files run: dart format .

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

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

Package Constraint Compatible Latest Notes
flutter_blue_plus ^1.35.3 1.36.8 2.0.2
pointycastle ^4.0.0 4.0.0 4.0.0
uuid ^4.5.1 4.5.2 4.5.2
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
bluez - 0.8.3 0.8.3
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.7 3.0.7
dbus - 0.7.11 0.7.11
ffi - 2.1.4 2.1.4
fixnum - 1.1.1 1.1.1
flutter_blue_plus_android - 7.0.4 8.0.1
flutter_blue_plus_darwin - 7.0.3 8.0.1
flutter_blue_plus_linux - 7.0.3 8.0.1
flutter_blue_plus_platform_interface - 7.0.0 8.0.1
flutter_blue_plus_web - 7.0.2 8.0.1
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
petitparser - 7.0.1 7.0.1
rxdart - 0.28.0 0.28.0
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
xml - 6.6.1 6.6.1

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

The constraint `^1.35.3` 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.

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.1, Flutter 3.38.0, Dart 3.10.0-290.4.beta.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
130
points
394
downloads

Publisher

verified publisherviam.com

Weekly Downloads

Plugin to provision Viam machines using bluetooth and other methods

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0, MIT (license)

Dependencies

flutter, flutter_blue_plus, pointycastle, uuid

More

Packages that depend on viam_flutter_provisioning