Skip to content
pubscout

open_wearables_health_sdk

0.0.27, released yesterday by an unverified publisher

Flutter SDK for background health data sync from Apple HealthKit and Samsung/Health Connect.

$ flutter pub add open_wearables_health_sdk
Source repository

What it does

Synchronizes health and fitness data securely in the background from Apple HealthKit on iOS and Samsung Health or Health Connect on Android to the Open Wearables platform. Handles token authentication, incremental updates, and secure credential storage.

AI-written summary of version 0.0.27, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to sync health, sleep, workout, and biometric data to a backend.
  • You require background synchronization of health data on iOS and Android.

Skip it when

  • You only need to read health data locally without syncing it to an external backend.
  • Your target platform is neither iOS nor Android.

Strengths

  • Supports background sync and incremental updates out of the box.
  • Handles multiple Android health providers (Samsung Health and Health Connect).
  • Secure credential storage using iOS Keychain and Android EncryptedSharedPreferences.

Weaknesses

  • Requires platform-specific configuration such as Info.plist entries and Android foreground service types.
  • Tied specifically to the Open Wearables backend ecosystem.

Setup

Kind
Plugin (native code)
Effort
High
Code generation
No
Direct dependencies
1

Requires iOS Info.plist usage descriptions, background modes, and HealthKit capability in Xcode. On Android, requires setting minSdk to 29, adding activity-aliases, using FlutterFragmentActivity, and configuring foreground service permissions for Play Store compliance.

await OpenWearablesHealthSdk.configure(host: 'https://api.example.com');
await OpenWearablesHealthSdk.signIn(userId: 'user-id', apiKey: 'your-api-key');
await OpenWearablesHealthSdk.requestAuthorization(types: [HealthDataType.steps]);
await OpenWearablesHealthSdk.startBackgroundSync();

Alternatives

Packages that do the same job and could replace open_wearables_health_sdk.

Works with

Packages commonly used together with open_wearables_health_sdk: ones it builds on, ones built on it, and its own family.