Skip to main content

health_workout_sync 0.1.1 copy "health_workout_sync: ^0.1.1" to clipboard
health_workout_sync: ^0.1.1 copied to clipboard

Sync workouts from Apple Health and Health Connect (Samsung Health, Garmin, Fitbit, Oura…) into your backend, in the background, without losing or duplicating any.

Changelog #

All notable changes to this package are documented here. The format follows Keep a Changelog and the package uses Semantic Versioning (see RELEASING.md).

0.1.1 #

  • README: pub version, pub points, CI and license badges.
  • README: ready-to-paste Android backup rules to make a reinstall start a fresh sync (section 8.8).

0.1.0 #

First public release.

  • Workout sync from Apple Health (HealthKit anchored queries) and Health Connect (changes tokens). The sync position only advances once every workout is settled by your WorkoutImporter, so failures never lose a workout; a recent-window safety sweep catches anything missed.
  • Background sync: HealthKit background delivery into a headless Flutter engine on iOS; a WorkManager periodic job on Android with a user-settable interval (default 1 hour, minimum 15 minutes).
  • Cross-isolate lock so foreground and background syncs never overlap.
  • availability() / installHealthConnect() for Android 9–13, where Health Connect is a Play Store app.
  • requestNotificationPermission(), notificationsEnabled() and notify() for local notifications from background syncs.
  • Third-party app guidance: FitnessAppGuide (18 apps, Health Connect and Apple Health steps), fitnessApps() (which apps share / are installed) and the ready-made HealthSharingReminder card.
  • openHealthSettings(page:) — this app's permissions or every app's sharing.
  • Android: Health Connect's required privacy-policy screen, permissions and package-visibility queries are merged into the host app; the host only adds a health_workout_sync.privacy_policy_url meta-data entry.
1
likes
160
points
268
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Sync workouts from Apple Health and Health Connect (Samsung Health, Garmin, Fitbit, Oura…) into your backend, in the background, without losing or duplicating any.

Repository (GitHub)
View/report issues

Topics

#health #healthkit #health-connect #fitness #workout

License

MIT (license)

Dependencies

flutter, meta, shared_preferences, workmanager

More

Packages that depend on health_workout_sync

Packages that implement health_workout_sync