Samsung Health integration

Samsung Health data, in your own cloud

Samsung Health is where a Galaxy watch, a Samsung scale and the apps around them keep their data. Open Wearables reads it through the same Android SDK that handles Health Connect and lands it in the same schema as the rest of your sources, self-hosted under an MIT licence.

Built on Open Wearables

  • Heart Monitor logo
  • Hundred logo
  • JustGains logo
  • Lifelong logo
  • MoveTogether logo
  • ROXFIT logo
  • Smarter Diagnostics logo
  • Suna logo
  • Yoboo logo

Data coverage

Samsung Health data we support

One permission grant reads what the user's Galaxy devices and Samsung Health have recorded, in the same schema as the rest of your sources.

  • Sleep

    Stages, efficiency, time in bed, naps and Samsung's sleep score.

  • Heart

    Heart rate and blood pressure.

  • Body

    Weight, height, BMI, fat, lean and skeletal muscle mass.

  • Vitals

    SpO2, body temperature and blood glucose.

  • Activity

    Steps, active and basal energy, floors climbed and hydration.

  • Workouts

    Heart rate range, energy, distance, speed and elevation.

  • Performance

    VO2 max and cadence from workouts.

What working with Open Wearables gives you

Two views of the same deployment. One for the people wiring it in, one for the people signing it off.

  • One schema, not one per provider

    Samsung Health arrives in the same shape as every cloud source, so your code carries no Samsung-specific branches and adding a watch integration later does not change the call.


    • Sleep
    • Body
    • Vitals
    • Workouts
  • One SDK for both Android health stores

    The same Android SDK reads Samsung Health and Health Connect, and reports which of them a device actually has, so your app picks the right one at runtime rather than guessing from the model name.


    • Samsung Health
    • Health Connect
  • Background sync that survives the OS

    WorkManager schedules it and a foreground service carries it while it runs. Each sync moves only what is new, from a first-sync depth you choose, and your backend mints the short-lived token the app uses.


    • WorkManager
    • Incremental
  • No health permissions to declare

    Samsung Health grants access through its own dialog rather than the Android health permissions Health Connect relies on, so choosing Samsung adds no health declarations to your manifest.


    • Samsung's own dialog

How it works

From nothing to your first Samsung Health query

  1. 01

    Bring it up

    Clone the repository and run it with Docker Compose. First API call in five minutes, before any provider is connected.

    Terminal

    git clone https://github.com/the-momentum/open-wearables.git
    cd open-wearables && docker compose up -d
  2. 02

    Add the SDK to your Android app

    Samsung Health data lives on the device, so this is where the integration happens. Add our SDK along with Samsung's own Health Data SDK, and select Samsung as the provider.

    Android SDK integration guide
  3. 03

    Ask the user for permission

    Samsung Health shows its own permission dialog and the user decides what to share. Your app keeps its existing login, so there is no second account to manage.

  4. 04

    Clear production access with Samsung

    Reading data on a development build needs only a Samsung account. Shipping to production also needs Samsung to approve your app and register its release signing key, so start that early and run the rest in parallel.

    Samsung app registration
  5. 05

    Query the user, not the provider

    Samsung Health data arrives in the same schema as every other source, in your own database, so your application code carries no Samsung-specific branches.

    Mobile SDKs

The honest comparison

Hosted SaaS API, in-house build, or self-hosted

Where each one actually wins. If a hosted API fits your situation, use one.

Hosted SaaS APIBuild in-houseOpen Wearables, self-hosted
[01] The mobile SDKTheirs, in your appYours to write and maintainOpen source, in your app, forkable
[02] Samsung production approvalTheirs, already clearedYours to obtainYours, and the same build ships without it
[03] Where Samsung data goes firstTheir cloudYoursYour cloud account, your region
[04] Permission dialogTheirs or yours, dependingYoursSamsung's own, inside your app
[05] The data modelTheirs, you build against their schemaYoursYours, in your database
[06] Samsung SDK changesThey absorb themYour team tracks and adaptsFixed in a release you pull
[07] Cost shapeScales with monthly active usersSalaries and infrastructureFixed, flattens as you grow

What stays yours

The deployment, the data and what you build on it stay in your account, whoever runs it

Sovereignty

Samsung Health data goes from the device to your cloud, with no aggregator in between.

Residency

It stays in the region you chose, provable by pointing at an account.

Control

What you build on top of Open Wearables is yours, and the schema and the data are in your account.

Your own reasons

No regulator forcing it. You want the data in your own account anyway.

Samsung Health is one integration in the same API

You query a user rather than a provider, so somebody on a Galaxy watch and somebody wearing a ring you connect through the cloud both come back in one shape. Adding either later does not change your code.

Browse all integrations

Deploy Open Wearables in your own cloud

The repository is public and the deployment is yours from the first commit. Start from the source, or bring us in to stand it up in your account with the SDK live in your app and validated on real devices.

FAQ

Do you have more questions?

What is Samsung Health?

Samsung's health app and data store on Galaxy phones and watches. It holds what Samsung devices measured, and apps read it with the user's permission. Unlike Health Connect, it is specific to Samsung hardware rather than available across Android.

Do we need approval from Samsung?

For development, no: read access needs only a Samsung account. For a production release, yes. Samsung approves your app and registers its release signing key, and the permission flow stops working on release builds until both are done. It is worth starting on day one, because the rest of the integration does not wait for it.

Can we launch before that approval lands?

Yes, and it is the usual route. The same integration also reads Health Connect, which has no approval requirement and covers Android devices broadly. Teams typically ship on Health Connect and switch Samsung on afterwards, without a second build. See the Health Connect integration.

Should we use Samsung Health or Health Connect on a Galaxy device?

Health Connect covers more data types and works across Android, so it is the better default. Samsung Health is the right choice when you specifically want what Samsung's own app holds, such as its sleep score, or when a user keeps their data there rather than sharing it with Health Connect.

Is the data the same as through Health Connect?

Narrower. Samsung's SDK exposes fewer types: heart rate variability, resting heart rate and respiratory rate come through Health Connect but not here. What Samsung Health adds is its own sleep score alongside the sleep record.

Do we have to build a mobile app for this?

Yes. Samsung Health has no cloud API, so the data never leaves the device on its own and the SDK has to live in an Android app.

Which SDKs are available?

Our native Android SDK in Kotlin, plus Flutter and React Native wrappers over the same core. Samsung's own Health Data SDK also has to be added to your app, and Samsung distributes it directly rather than through a package repository.

How does the data actually get to us?

The SDK reads Samsung Health and pushes to your deployment. Background sync is scheduled through WorkManager, with a foreground service carrying an active sync, and each run moves only what is new.

Can we test this without a Galaxy device?

Not in an emulator. Samsung Health needs a physical Samsung device with the app installed, and Developer Mode enabled in it while you are still on a development build.

Can we combine Samsung Health with other sources?

Yes, and that is the normal case. You query a user rather than a provider, so somebody with a Galaxy watch and a connected ring returns in one shape.