vivanta_connect_flutter 0.9.2 copy "vivanta_connect_flutter: ^0.9.2" to clipboard
vivanta_connect_flutter: ^0.9.2 copied to clipboard

Vivanta Connect for Flutter

0
likes
80/ 160
pub points
64%
popularity

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

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

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 60 to 180 characters to describe the package, what it does, and its target use case.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

partial
Provide documentation
10 / 20trigger folding of the section

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

35 out of 384 API elements (9.1 %) 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: apple_category_type, apple_category_type.AppleCategoryType, apple_category_type.AppleCategoryType.AppleCategoryType, apple_category_type.AppleCategoryType.AppleCategoryType.fromJson, apple_category_type.AppleCategoryType.categoryType.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:vivanta_connect_flutter/vivanta_connect_flutter.dart that imports:
  • package:vivanta_connect_flutter/views/start_vivanta_connect_with_token.dart that imports:
  • package:vivanta_connect_flutter/views/privacy.dart that imports:
  • package:webview_flutter/webview_flutter.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Linux`.

Because:

  • package:vivanta_connect_flutter/vivanta_connect_flutter.dart that imports:
  • package:vivanta_connect_flutter/views/start_vivanta_connect_with_token.dart that imports:
  • package:vivanta_connect_flutter/views/privacy.dart that imports:
  • package:webview_flutter/webview_flutter.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `macOS`.

Because:

  • package:vivanta_connect_flutter/vivanta_connect_flutter.dart that imports:
  • package:vivanta_connect_flutter/views/start_vivanta_connect_with_token.dart that imports:
  • package:vivanta_connect_flutter/views/brands.dart that imports:
  • package:vivanta_connect_flutter/services/google_health_connect.dart that imports:
  • package:vivanta_connect_flutter/helpers/helpers.dart that imports:
  • package:health/health.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:vivanta_connect_flutter/vivanta_connect_flutter.dart that imports:
  • package:vivanta_connect_flutter/views/start_vivanta_connect_with_token.dart that imports:
  • package:vivanta_connect_flutter/views/privacy.dart that imports:
  • package:webview_flutter/webview_flutter.dart that declares support for platforms: Android, iOS, macOS.

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

Package does not support platform `Android`.

Because:

  • package:vivanta_connect_flutter/vivanta_connect_flutter.dart that imports:
  • package:vivanta_connect_flutter/views/start_vivanta_connect_with_token.dart that imports:
  • package:vivanta_connect_flutter/views/brands.dart that imports:
  • package:vivanta_connect_flutter/services/google_health_connect.dart that imports:
  • package:vivanta_connect_flutter/helpers/helpers.dart that imports:
  • package:health/health.dart that imports:
  • package:device_info_plus/device_info_plus.dart that imports:
  • package:device_info_plus/src/device_info_plus_windows.dart that imports:
  • package:win32_registry/win32_registry.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:vivanta_connect_flutter/vivanta_connect_flutter.dart that imports:
  • package:vivanta_connect_flutter/views/start_vivanta_connect_with_token.dart that imports:
  • package:vivanta_connect_flutter/views/brands.dart that imports:
  • package:vivanta_connect_flutter/services/google_health_connect.dart that imports:
  • package:vivanta_connect_flutter/helpers/helpers.dart that imports:
  • package:health/health.dart that imports:
  • package:device_info_plus/device_info_plus.dart that imports:
  • package:device_info_plus/src/device_info_plus_windows.dart that imports:
  • package:win32_registry/win32_registry.dart that declares support for platforms: Windows.

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
Pass static analysis
0 / 50trigger folding of the section

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

Found 6 issues. Showing the first 2:

ERROR: Instance member 'isAppEnabled' can't be accessed using static access.

lib/services/google_health_connect.dart:33:43

   ╷
33 │       final isAppEnabled = await AppCheck.isAppEnabled(package);
   │                                           ^^^^^^^^^^^^
   ╵

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

ERROR: Instance member 'isAppEnabled' can't be accessed using static access.

lib/services/google_health_connect.dart:42:43

   ╷
42 │       final isAppEnabled = await AppCheck.isAppEnabled(googleFit);
   │                                           ^^^^^^^^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest
appcheck ^1.0.6 1.5.2 1.5.2
cupertino_icons ^1.0.2 1.0.8 1.0.8
device_info_plus ^9.0.3 9.1.2 10.1.2
dio ^5.0.0 5.7.0 5.7.0
flutter flutter 0.0.0 0.0.0
flutter_health_connect ^1.2.3 1.2.3 1.2.3
flutter_i18n ^0.35.1 0.35.1 0.36.2
flutter_localization ^0.1.14 0.1.14 0.2.2
flutter_localizations flutter 0.0.0 0.0.0
flutter_secure_storage ^8.0.0 8.1.0 9.2.2
health ^10.2.0 10.2.0 11.1.0
hive ^2.2.3 2.2.3 2.2.3
hive_flutter ^1.1.0 1.1.0 1.1.0
hive_generator ^2.0.0 2.0.1 2.0.1
http ^1.1.0 1.2.2 1.2.2
json_annotation ^4.8.0 4.9.0 4.9.0
page_transition ^2.0.9 2.1.0 2.1.0
path ^1.8.2 1.9.0 1.9.0
url_launcher ^6.1.14 6.3.0 6.3.0
webview_flutter ^4.0.7 4.9.0 4.9.0
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 72.0.0 74.0.0
_macros - 0.3.2 0.3.2
analyzer - 6.7.0 6.9.0
args - 2.5.0 2.5.0
async - 2.11.0 2.11.0
build - 2.4.1 2.4.1
carp_serializable - 1.2.0 2.0.0
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
collection - 1.18.0 1.19.0
convert - 3.1.1 3.1.1
crypto - 3.0.5 3.0.5
dart_style - 2.3.7 2.3.7
device_info_plus_platform_interface - 7.0.1 7.0.1
dio_web_adapter - 2.0.0 2.0.0
ffi - 2.1.3 2.1.3
file - 7.0.0 7.0.0
flutter_secure_storage_linux - 1.2.1 1.2.1
flutter_secure_storage_macos - 3.1.2 3.1.2
flutter_secure_storage_platform_interface - 1.1.2 1.1.2
flutter_secure_storage_web - 1.2.1 1.2.1
flutter_secure_storage_windows - 2.1.1 3.1.2
flutter_web_plugins - 0.0.0 0.0.0
glob - 2.1.2 2.1.2
http_parser - 4.0.2 4.1.0
intl - 0.19.0 0.19.0
js - 0.6.7 0.7.1
logging - 1.2.0 1.2.0
macros - 0.1.2-main.4 0.1.3-main.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
package_config - 2.1.0 2.1.0
path_provider - 2.1.4 2.1.4
path_provider_android - 2.2.10 2.2.10
path_provider_foundation - 2.4.0 2.4.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
petitparser - 6.0.2 6.0.2
platform - 3.1.5 3.1.5
plugin_platform_interface - 2.1.8 2.1.8
pub_semver - 2.1.4 2.1.4
shared_preferences - 2.3.2 2.3.2
shared_preferences_android - 2.3.2 2.3.2
shared_preferences_foundation - 2.5.2 2.5.2
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.2 2.4.2
shared_preferences_windows - 2.4.1 2.4.1
sky_engine - 0.0.99 0.0.99
source_gen - 1.5.0 1.5.0
source_helper - 1.3.4 1.3.4
source_span - 1.10.0 1.10.0
string_scanner - 1.3.0 1.3.0
term_glyph - 1.2.1 1.2.1
toml - 0.15.0 0.16.0
typed_data - 1.3.2 1.3.2
url_launcher_android - 6.3.10 6.3.10
url_launcher_ios - 6.3.1 6.3.1
url_launcher_linux - 3.2.0 3.2.0
url_launcher_macos - 3.2.1 3.2.1
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.3 2.3.3
url_launcher_windows - 3.1.2 3.1.2
vector_math - 2.1.4 2.1.4
watcher - 1.1.0 1.1.0
web - 1.1.0 1.1.0
webview_flutter_android - 3.16.7 3.16.7
webview_flutter_platform_interface - 2.10.0 2.10.0
webview_flutter_wkwebview - 3.15.0 3.15.0
win32 - 5.5.4 5.5.4
win32_registry - 1.1.5 1.1.5
xdg_directories - 1.0.4 1.0.4
xml - 6.5.0 6.5.0
xml2json - 6.2.4 6.2.4
yaml - 3.1.2 3.1.2

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

Found 5 issues. Showing the first 2:

The constraint `^9.0.3` on device_info_plus does not support the stable version `10.0.0`.

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

The constraint `^0.35.1` on flutter_i18n does not support the stable version `0.36.0`.

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

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.12, Flutter 3.24.3, Dart 3.5.3.

Check the analysis log for details.