vital_core 4.3.8 copy "vital_core: ^4.3.8" to clipboard
vital_core: ^4.3.8 copied to clipboard

The official Flutter package for Vital APIs allowing fitness apps linking with tryvital.io and with support for HealthKit.

2
likes
120/ 160
pub points
79%
popularity

We analyzed this package 2 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

OUT: Documenting vital_core... Discovering libraries... Linking elements... Precaching local docs for 1174614 elements... Initialized dartdoc with 1167 libraries Generating docs for library services/profile_service.dart from package:vital_core/services/profile_service.dart... Generating docs for library services/data/providers.dart from package:vital_core/services/data/providers.dart... Generating docs for library services/data/activity.dart from package:vital_core/services/data/activity.dart... Generating docs for library services/data/source.dart from package:vital_core/services/data/source.dart... Generating docs for library services/data/timeseries.dart from package:vital_core/services/data/timeseries.dart... [28 more lines] ERR: warning: vital has no library level documentation comments from vital: (file:///tmp/pana_FGSGSZ/lib/services/profile_service.dart:1:9) warning: vital has no library level documentation comments from vital: (file:///tmp/pana_FGSGSZ/lib/services/workout_service.dart:1:9) error: file already written at "vital/vital-library.html" for symbol vital: (file:///tmp/pana_FGSGSZ/lib/services/workout_service.dart:1:9) conflicting with file already generated by vital: (file:///tmp/pana_FGSGSZ/lib/services/profile_service.dart:1:9) Dartdoc generates a path and filename to write to for each symbol. 'vital' conflicts with another symbol in the generated path, and therefore can not be written out. Changing the name, library name, or [77 more lines]

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_core/vital_core.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

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

Because:

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

Because:

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

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:vital_core/vital_core.dart that imports:
  • package:vital_core/services/utils/vital_interceptor.dart that imports:
  • package:vital_core/core.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_core/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
chopper ^7.0.7+1 7.4.0 8.0.3
fimber ^0.6.6 0.6.6 0.7.0
flutter flutter 0.0.0 0.0.0
http ^1.1.0 1.2.2 1.2.2
json_annotation ^4.8.1 4.9.0 4.9.0
url_launcher ^6.2.3 6.3.1 6.3.1
vital_core_android ^4.3.8 4.3.8 4.3.8
vital_core_ios ^4.3.8 4.3.8 4.3.8
vital_core_platform_interface ^4.3.8 4.3.8 4.3.8
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
characters - 1.3.0 1.3.1
collection - 1.18.0 1.19.1
equatable - 2.0.5 2.0.5
flutter_web_plugins - 0.0.0 0.0.0
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
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
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_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
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.

The constraint `^7.0.7+1` on chopper does not support the stable version `8.0.0`.

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

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.

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.

2
likes
120
pub points
79%
popularity

Publisher

verified publishertryvital.io

The official Flutter package for Vital APIs 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

chopper, fimber, flutter, http, json_annotation, url_launcher, vital_core_android, vital_core_ios, vital_core_platform_interface

More

Packages that depend on vital_core