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 11 hours 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.dart
that declares support for platforms:Android
.
Package does not support platform `Windows`.
Because:
package:health_sync_plugin/health_sync_plugin.dart
that declares support for platforms:Android
.
Package does not support platform `Linux`.
Because:
package:health_sync_plugin/health_sync_plugin.dart
that declares support for platforms:Android
.
Package does not support platform `macOS`.
Because:
package:health_sync_plugin/health_sync_plugin.dart
that declares support for platforms:Android
.
Package does not support platform `Web`.
Because:
package:health_sync_plugin/health_sync_plugin.dart
that 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.dart
that imports:package:health_sync_plugin/src/services/health_history_service.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
Package not compatible with runtime wasm
Because:
package:health_sync_plugin/health_sync_plugin.dart
that imports:package:health_sync_plugin/src/services/health_history_service.dart
that imports:package:health/health.dart
that imports:package:device_info_plus/device_info_plus.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.cn/web/wasm for details.
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.0.3 | 6.0.3 | |
encrypt |
>=5.0.3 <6.0.0 |
5.0.3 | 5.0.3 | |
firebase_core |
>=3.14.0 <5.0.0 |
4.2.0 | 4.2.0 | |
flutter_foreground_task |
>=9.1.0 <11.0.0 |
9.1.0 | 9.1.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 | 9.2.4 | |
health |
>=13.0.1 <14.0.0 |
13.2.1 | 13.2.1 | |
http |
>=1.4.0 <3.0.0 |
1.5.0 | 1.5.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.3 | 2.5.3 | |
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
.
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.24
, Flutter 3.35.5
, Dart 3.9.2
.
Check the analysis log for details.