viam_sdk 0.10.0 copy "viam_sdk: ^0.10.0" to clipboard
viam_sdk: ^0.10.0 copied to clipboard

Viam Robotics Flutter SDK. Connect to your Viam robots using WebRTC or gRPC, and control your robots remotely.

80/ 160
pub points
1.15k
downloads

We analyzed this package 9 hours ago, and awarded it 80 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 license: Apache-2.0.

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

33568 out of 57288 API elements (58.6 %) have documentation comments.

Some symbols that are missing documentation: App, Common, Components, Protobuf Definitions, Services.

Passed check 10/10 points: Package has 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

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Web`.

Because:

  • package:viam_sdk/viam_sdk.dart that imports:
  • package:viam_sdk/src/viam_sdk.dart that imports:
  • package:viam_sdk/src/viam_sdk_impl.dart that imports:
  • package:viam_sdk/src/rpc/dial.dart that imports:
  • package:viam_sdk/src/rpc/web_rtc/web_rtc_client.dart that imports:
  • package:viam_sdk/src/rpc/web_rtc/web_rtc_client_connection.dart that imports:
  • package:viam_sdk/src/rpc/web_rtc/web_rtc_transport_stream.dart that imports:
  • package:flutter_webrtc/flutter_webrtc.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

Failed check 0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

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 49 issues. Showing the first 2:

ERROR: Target of URI hasn't been generated: '../../../google/protobuf/field_mask.pb.dart'.

lib/src/gen/service/worldstatestore/v1/world_state_store.pb.dart:17:8

   ╷
17 │ import '../../../google/protobuf/field_mask.pb.dart' as $52;
   │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/gen/service/worldstatestore/v1/world_state_store.pb.dart

INFO: 'binaryIds' is deprecated and shouldn't be used. This field is deprecated.

lib/src/app/data.dart:242:9

    ╷
242 │       ..binaryIds.addAll(binaryIds)
    │         ^^^^^^^^^
    ╵

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

Failed report section
Support up-to-date dependencies
10 / 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
async ^2.11.0 2.13.0 2.13.0
bonsoir ^5.1.8 5.1.11 6.0.1
bson ^5.0.5 5.0.7 5.0.7
collection ^1.17.1 1.19.1 1.19.1
fixnum ^1.1.0 1.1.1 1.1.1
flutter_joystick ^0.2.1 0.2.2 0.2.2
flutter_webrtc ^0.12.1+hotfix.1 0.12.12+hotfix.1 1.2.0
grpc ^4.0.1 4.1.0 4.2.0
image ^4.0.16 4.5.4 4.5.4
logger ^2.0.1 2.6.1 2.6.1
protobuf ^3.0.0 3.1.0 4.2.0
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 4.0.7 4.0.7
args - 2.7.0 2.7.0
bonsoir_android - 5.1.6 6.0.1
bonsoir_darwin - 5.1.3 6.0.1
bonsoir_linux - 5.1.3 6.0.1
bonsoir_platform_interface - 5.1.3 6.0.1
bonsoir_windows - 5.1.5 6.0.1
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
crypto - 3.0.6 3.0.6
dart_webrtc - 1.6.0 1.6.0
dbus - 0.7.11 0.7.11
decimal - 3.2.4 3.2.4
ffi - 2.1.4 2.1.4
google_identity_services_web - 0.3.3+1 0.3.3+1
googleapis_auth - 2.0.0 2.0.0
http - 1.5.0 1.5.0
http2 - 2.3.1 2.3.1
http_parser - 4.1.2 4.1.2
intl - 0.20.2 0.20.2
js - 0.7.2 0.7.2 Discontinued
logging - 1.3.0 1.3.0
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
packages_extensions - 0.1.1 0.1.1
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.18 2.2.18
path_provider_foundation - 2.4.2 2.4.2
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 - 7.0.1 7.0.1
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
posix - 6.0.3 6.0.3
power_extensions - 0.2.3 0.2.3
rational - 2.2.3 2.2.3
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
string_scanner - 1.4.1 1.4.1
synchronized - 3.4.0 3.4.0
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
uuid - 4.5.1 4.5.1
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
webrtc_interface - 1.3.0 1.3.0
xdg_directories - 1.1.0 1.1.0
xml - 6.6.1 6.6.1

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

Found 3 issues. Showing the first 2:

The constraint `^5.1.8` on bonsoir does not support the stable version `6.0.0`.

Try running dart pub upgrade --major-versions bonsoir to update the constraint.

The constraint `^0.12.1+hotfix.1` on flutter_webrtc does not support the stable version `0.13.0`.

Try running dart pub upgrade --major-versions flutter_webrtc to update the constraint.

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:

  • URI_HAS_NOT_BEEN_GENERATED - lib/src/gen/service/worldstatestore/v1/world_state_store.pb.dart:17:8 - Target of URI hasn't been generated: '../../../google/protobuf/field_mask.pb.dart'.

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.23, Flutter 3.35.3, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
5
likes
80
points
1.15k
downloads

Publisher

verified publisherviam.com

Weekly Downloads

Viam Robotics Flutter SDK. Connect to your Viam robots using WebRTC or gRPC, and control your robots remotely.

Repository (GitHub)

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

async, bonsoir, bson, collection, fixnum, flutter, flutter_joystick, flutter_webrtc, grpc, image, logger, protobuf

More

Packages that depend on viam_sdk