vital_health 2.1.0 copy "vital_health: ^2.1.0" to clipboard
vital_health: ^2.1.0 copied to clipboard

The Vital Health package allowing fitness apps linking with tryvital.io and with support for HealthKit.

1
likes
120/ 160
pub points
79%
popularity

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

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

7 out of 131 API elements (5.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: health, health.askForPermission, health.cleanUp, health.configure, health.hasAskedForPermission.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add 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:vital_health/vital_health.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:vital_health/vital_health.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:vital_health/vital_health.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:vital_health/vital_health.dart that declares support for platforms: Android, iOS.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:vital_health/vital_health.dart that imports:
  • package:vital_health_platform_interface/src/data/sync_data.dart that imports:
  • package:vital_health_platform_interface/vital_health_platform_interface.dart that imports:
  • package:vital_health_platform_interface/src/vital_health_platform.dart that imports:
  • package:vital_core/vital_core.dart that imports:
  • package:vital_core/services/utils/vital_interceptor.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.

0/0 points: Swift Package Manager support

Package does not support the Swift Package Manager on iOS

It does not contain ios/vital_health/Package.swift.

This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.

See https://docs.flutter.dev/to/spm for details.

OK
Pass static analysis
50 / 50trigger folding of the section

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

failed
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
fimber ^0.6.6 0.6.6 0.7.0
flutter flutter 0.0.0 0.0.0
json_annotation ^4.6.0 4.9.0 4.9.0
vital_core ^2.1.0 2.1.0 4.3.8
vital_health_android ^2.1.0 2.1.0 4.3.8
vital_health_ios ^2.1.0 2.1.0 4.3.8
vital_health_platform_interface ^2.1.0 2.1.0 4.3.8
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
characters - 1.3.0 1.3.1
chopper - 7.4.0 8.0.3
collection - 1.18.0 1.19.1
equatable - 2.0.5 2.0.5
flutter_web_plugins - 0.0.0 0.0.0
http - 1.2.2 1.2.2
http_parser - 4.0.2 4.1.1
logging - 1.3.0 1.3.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.1 1.9.1
permission_handler - 10.4.5 11.3.1
permission_handler_android - 10.3.6 12.0.13
permission_handler_apple - 9.1.4 9.4.5
permission_handler_platform_interface - 3.12.0 4.2.3
permission_handler_windows - 0.1.3 0.2.1
plugin_platform_interface - 2.1.8 2.1.8
qs_dart - 1.2.4 1.2.4
recursive_regex - 1.0.0 1.0.0
rxdart - 0.27.7 0.28.0
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
url_launcher - 6.3.1 6.3.1
url_launcher_android - 6.3.14 6.3.14
url_launcher_ios - 6.3.1 6.3.1
url_launcher_linux - 3.2.1 3.2.1
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.3 3.1.3
vector_math - 2.1.4 2.1.4
vital_core_android - 2.1.0 4.3.8
vital_core_ios - 2.1.0 4.3.8
vital_core_platform_interface - 2.1.0 4.3.8
weak_map - 3.0.1 4.0.0
web - 1.1.0 1.1.0

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

Found 5 issues. Showing the first 2:

The constraint `^0.6.6` on fimber does not support the stable version `0.7.0`.

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

The constraint `^2.1.0` on vital_core does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions vital_core 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.15, Flutter 3.24.4, Dart 3.5.4.

Check the analysis log for details.

1
likes
120
pub points
79%
popularity

Publisher

verified publishertryvital.io

The Vital Health package allowing fitness apps linking with tryvital.io and with support for HealthKit.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (license)

Dependencies

fimber, flutter, json_annotation, vital_core, vital_health_android, vital_health_ios, vital_health_platform_interface

More

Packages that depend on vital_health