yonomi_platform_sdk 5.2.1 copy "yonomi_platform_sdk: ^5.2.1" to clipboard
yonomi_platform_sdk: ^5.2.1 copied to clipboard

The Yonomi Platform SDK aims to lower the curve to getting an application connected to the Yonomi Platform and working with objects in the IoT domain.

4
likes
90/ 140
pub points
0%
popularity

We analyzed this package 2 days ago, and awarded it 90 pub points (of a possible 140):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

failed
Provide documentation
0 / 20trigger folding of the section

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

99 out of 836 API elements (11.8 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

Some symbols that are missing documentation: schema.docs.ast.gql, schema.docs.ast.gql.BatteryLevelDeviceTrait, schema.docs.ast.gql.BatteryLevelState, schema.docs.ast.gql.BatteryLevelStateDesiredPercentage, schema.docs.ast.gql.BatteryLevelStateDesiredStatus.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

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 not compatible with platform Web

Because:

  • package:yonomi_platform_sdk/yonomi-sdk.dart that imports:
  • package:yonomi_platform_sdk/src/repository/user_repository.dart that imports:
  • package:yonomi_platform_sdk/src/repository/repository.dart that imports:
  • package:yonomi_platform_sdk/src/repository/gql_client.dart that imports:
  • dart:io
partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 5311 issues. Showing the first 2:

INFO: The variable name 'G__typename' isn't a lowerCamelCase identifier.

lib/src/queries/accounts/generate_account_url/query.data.gql.dart:23:14

   ╷
23 │   String get G__typename;
   │              ^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/queries/accounts/generate_account_url/query.data.gql.dart

INFO: The type name 'GgenerateAccountLinkingUrlData_generateAccountLinkingUrl' isn't an UpperCamelCase identifier.

lib/src/queries/accounts/generate_account_url/query.data.gql.dart:35:16

   ╷
35 │ abstract class GgenerateAccountLinkingUrlData_generateAccountLinkingUrl
   │                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/queries/accounts/generate_account_url/query.data.gql.dart

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

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

Package Constraint Compatible Latest
built_collection ^5.1.1 5.1.1 5.1.1
built_value ^8.2.0 8.9.2 8.9.2
dart_jsonwebtoken ^2.4.2 2.14.0 2.14.0
dotenv ^4.0.1 4.2.0 4.2.0
equatable ^2.0.3 2.0.5 2.0.5
gql ^0.13.0 0.13.1 1.0.0+1
gql_code_builder ^0.2.0 0.2.0 0.11.0
gql_exec ^0.3.0 0.3.0 1.0.0+1
gql_http_link ^0.4.0 0.4.0 1.0.1+1
gql_link ^0.4.0 0.4.0 1.0.0+1
http ^0.13.4 0.13.6 1.2.1
meta ^1.7.0 1.15.0 1.15.0
yaml ^3.1.0 3.1.2 3.1.2
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 22.0.0 68.0.0
adaptive_number - 1.0.0 1.0.0
analyzer - 1.7.2 6.5.0
args - 2.5.0 2.5.0
async - 2.11.0 2.11.0
boolean_selector - 2.1.1 2.1.1
cli_util - 0.3.5 0.4.1
clock - 1.1.1 1.1.1
code_builder - 4.10.0 4.10.0
collection - 1.18.0 1.18.0
convert - 3.1.1 3.1.1
crypto - 3.0.3 3.0.3
ed25519_edwards - 0.3.1 0.3.1
file - 7.0.0 7.0.0
fixnum - 1.1.0 1.1.0
glob - 2.1.2 2.1.2
http_parser - 4.0.2 4.0.2
js - 0.7.1 0.7.1
matcher - 0.12.16+1 0.12.16+1
package_config - 2.1.0 2.1.0
path - 1.9.0 1.9.0
pedantic - 1.11.1 1.11.1
pointycastle - 3.9.1 3.9.1
pub_semver - 2.1.4 2.1.4
recase - 4.1.0 4.1.0
source_span - 1.10.0 1.10.0
stack_trace - 1.11.1 1.11.1
stream_channel - 2.1.2 2.1.2
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
test_api - 0.7.1 0.7.1
typed_data - 1.3.2 1.3.2
watcher - 1.1.0 1.1.0

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

Found 6 issues. Showing the first 2:

The constraint `^0.13.0` on gql does not support the stable version `0.14.0`.

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

The constraint `^0.2.0` on gql_code_builder does not support the stable version `0.5.0`.

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

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

Analyzed with Pana 0.22.3, Dart 3.3.4.

Check the analysis log for details.

4
likes
90
pub points
0%
popularity

Publisher

verified publisheryonomi.co

The Yonomi Platform SDK aims to lower the curve to getting an application connected to the Yonomi Platform and working with objects in the IoT domain.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (LICENSE)

Dependencies

built_collection, built_value, dart_jsonwebtoken, dotenv, equatable, gql, gql_code_builder, gql_exec, gql_http_link, gql_link, http, meta, yaml

More

Packages that depend on yonomi_platform_sdk