vital_core 3.1.8 copy "vital_core: ^3.1.8" to clipboard
vital_core: ^3.1.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
80/ 140
pub points
71%
popularity

We analyzed this package 25 hours ago, and awarded it 80 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

OUT: Documenting vital_core... Discovering libraries... Linking elements... Precaching local docs for 1086703 elements... Initialized dartdoc with 1076 libraries Generating docs for library exceptions.dart from package:vital_core/exceptions.dart... Generating docs for library environment.dart from package:vital_core/environment.dart... Generating docs for library provider.dart from package:vital_core/provider.dart... Generating docs for library core.dart from package:vital_core/core.dart... Generating docs for library client_status.dart from package:vital_core/client_status.dart... [27 more lines] ERR: warning: vital has no library level documentation comments from vital: (file:///tmp/pana_MJPIHJ/lib/services/link_service.dart:1:9) warning: vital has no library level documentation comments from vital: (file:///tmp/pana_MJPIHJ/lib/services/sleep_service.dart:1:9) error: file already written at "vital/vital-library.html" for symbol vital: (file:///tmp/pana_MJPIHJ/lib/services/sleep_service.dart:1:9) conflicting with file already generated by vital: (file:///tmp/pana_MJPIHJ/lib/services/link_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.

OK
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.
failed
Pass static analysis
30 / 50trigger folding of the section

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

WARNING: Unused import: 'package:vital_core/provider.dart'.

lib/services/link_service.dart:8:8

  ╷
8 │ import 'package:vital_core/provider.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

WARNING: Unused import: 'dart:io'.

lib/services/utils/vital_interceptor.dart:2:8

  ╷
2 │ import 'dart:io';
  │        ^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/services/utils/vital_interceptor.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
chopper ^7.0.7+1 7.4.0 7.4.0
fimber ^0.6.6 0.6.6 0.7.0
flutter flutter 0.0.0 0.0.0
http ^1.1.0 1.2.1 1.2.1
json_annotation ^4.8.1 4.8.1 4.8.1
url_launcher ^6.2.3 6.2.6 6.2.6
vital_core_android ^3.1.8 3.1.8 3.1.8
vital_core_ios ^3.1.8 3.1.8 3.1.8
vital_core_platform_interface ^3.1.8 3.1.8 3.1.8
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
characters - 1.3.0 1.3.0
collection - 1.18.0 1.18.0
equatable - 2.0.5 2.0.5
flutter_web_plugins - 0.0.0 0.0.0
http_parser - 4.0.2 4.0.2
logging - 1.2.0 1.2.0
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
path - 1.9.0 1.9.0
plugin_platform_interface - 2.1.8 2.1.8
qs_dart - 1.0.8 1.0.8
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
url_launcher_android - 6.3.1 6.3.1
url_launcher_ios - 6.2.5 6.2.5
url_launcher_linux - 3.1.1 3.1.1
url_launcher_macos - 3.1.0 3.1.0
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.1 2.3.1
url_launcher_windows - 3.1.1 3.1.1
vector_math - 2.1.4 2.1.4
weak_map - 3.0.1 3.0.1
web - 0.5.1 0.5.1

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

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

Analyzed with Pana 0.22.3, Flutter 3.19.5, Dart 3.3.3.

Check the analysis log for details.

2
likes
80
pub points
71%
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