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

Flutter SDK for Yonomi Platform

100/ 160
pub points
162
downloads

We analyzed this package 13 hours ago, and awarded it 100 pub points (of a possible 160):

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

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.

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

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

Failed check 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 report section
Provide documentation
0 / 20trigger folding of the section

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

60 out of 531 API elements (11.3 %) 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.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

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.BatteryLevelStatePercentageField.

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

  • ✓ 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/traits/brightness_repository.dart that imports:
  • package:yonomi_platform_sdk/src/repository/gql_client.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:yonomi_platform_sdk/yonomi-sdk.dart that imports:
  • package:yonomi_platform_sdk/src/repository/traits/brightness_repository.dart that imports:
  • package:yonomi_platform_sdk/src/repository/gql_client.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.cn/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 3441 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 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
built_collection ^5.1.1 5.1.1 5.1.1
built_value ^8.1.3 8.12.0 8.12.0
corsac_jwt ^1.0.0-nullsafety.1 1.0.1 2.0.2
dotenv ^3.0.0 3.0.0 4.2.0
equatable ^2.0.3 2.0.7 2.0.7
gql ^0.13.0 0.13.1 1.0.1
gql_code_builder ^0.2.0 0.2.0 0.15.1
gql_exec ^0.3.0 0.3.0 1.0.0+1
gql_http_link ^0.4.0 0.4.0 1.2.0
gql_link ^0.4.0 0.4.0 1.1.0
http ^0.13.4 0.13.6 1.5.0
meta ^1.3.0 1.17.0 1.17.0
yaml ^3.1.0 3.1.3 3.1.3
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 22.0.0 91.0.0
analyzer - 1.7.2 8.4.0
args - 2.7.0 2.7.0
asn1lib - 1.6.5 1.6.5
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
cli_util - 0.3.5 0.4.2
code_builder - 4.11.0 4.11.0
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
glob - 2.1.3 2.1.3
http_parser - 4.1.2 4.1.2
js - 0.7.2 0.7.2 Discontinued
logging - 1.3.0 1.3.0
matcher - 0.12.17 0.12.17
package_config - 2.2.0 2.2.0
path - 1.9.1 1.9.1
pedantic - 1.11.1 1.11.1 Discontinued
pointycastle - 3.9.1 4.0.0
pub_semver - 2.2.0 2.2.0
recase - 4.1.0 4.1.0
rsa_pkcs - 2.1.0 2.1.0
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.7 0.7.7
typed_data - 1.4.0 1.4.0
watcher - 1.1.4 1.1.4

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

Found 8 issues. Showing the first 2:

The constraint `^1.0.0-nullsafety.1` on corsac_jwt does not support the stable version `2.0.0`.

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

The constraint `^3.0.0` on dotenv does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions dotenv 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.22.24, Dart 3.9.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: