health_sync_plugin 0.0.13
health_sync_plugin: ^0.0.13 copied to clipboard
A Flutter plugin to sync health data from Health Connect-compatible apps.
We analyzed this package 8 days ago, and awarded it 150 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
15 out of 41 API elements (36.6 %) have documentation comments.
Some symbols that are missing documentation: health_history_service, health_sync_plugin, health_sync_plugin.ForegroundTaskService, health_sync_plugin.ForegroundTaskService.ForegroundTaskService.new, health_sync_plugin.HealthAverageService.
10/10 points: Package has an example
20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Android
These platforms are not supported:
Package does not support platform `iOS`.
Because:
package:health_sync_plugin/health_sync_plugin.dartthat declares support for platforms:Android.
Package does not support platform `Windows`.
Because:
package:health_sync_plugin/health_sync_plugin.dartthat declares support for platforms:Android.
Package does not support platform `Linux`.
Because:
package:health_sync_plugin/health_sync_plugin.dartthat declares support for platforms:Android.
Package does not support platform `macOS`.
Because:
package:health_sync_plugin/health_sync_plugin.dartthat declares support for platforms:Android.
Package does not support platform `Web`.
Because:
package:health_sync_plugin/health_sync_plugin.dartthat declares support for platforms:Android.
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:health_sync_plugin/health_sync_plugin.dartthat imports:package:health_sync_plugin/src/services/health_history_service.dartthat imports:package:health/health.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 16 issues. Showing the first 2:
INFO: Don't invoke 'print' in production code.
lib/src/background/health_sync_task_handler.dart:24:9
╷
24 │ print('Firebase already initialized or error: $e');
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/background/health_sync_task_handler.dart
INFO: Don't invoke 'print' in production code.
lib/src/background/health_sync_task_handler.dart:37:5
╷
37 │ print('⏰ Foreground onRepeatEvent: syncing health data...');
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/background/health_sync_task_handler.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
awesome_notifications |
>=0.10.1 <2.0.0 |
0.10.1 | 0.10.1 | |
cloud_firestore |
>=5.6.9 <7.0.0 |
6.1.1 | 6.1.1 | |
encrypt |
>=5.0.3 <6.0.0 |
5.0.3 | 5.0.3 | |
firebase_core |
>=3.14.0 <5.0.0 |
4.3.0 | 4.3.0 | |
flutter_foreground_task |
>=9.1.0 <11.0.0 |
9.2.0 | 9.2.0 | |
flutter_local_notifications |
>=19.2.1 <21.0.0 |
19.5.0 | 19.5.0 | |
flutter_secure_storage |
>=9.2.4 <10.0.0 |
9.2.4 | 10.0.0 | |
health |
>=13.0.1 <14.0.0 |
13.2.1 | 13.2.1 | |
http |
>=1.4.0 <3.0.0 |
1.6.0 | 1.6.0 | |
intl |
>=0.20.2 <2.0.0 |
0.20.2 | 0.20.2 | |
permission_handler |
>=11.3.1 <13.0.0 |
12.0.1 | 12.0.1 | |
plugin_platform_interface |
^2.0.2 |
2.1.8 | 2.1.8 | |
shared_preferences |
>=2.5.3 <4.0.0 |
2.5.4 | 2.5.4 | |
url_launcher |
>=6.3.1 <8.0.0 |
6.3.2 | 6.3.2 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `>=9.2.4 <10.0.0` on flutter_secure_storage does not support the stable version `10.0.0`, that was published 13 days ago.
When flutter_secure_storage is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions flutter_secure_storage 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.23.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.