GuidesModules
Health sync on the next client (preview)
Import HealthKit and Health Connect records through the next client contract
- Stable unknown
- Release candidate since 1.16.1-rc.4
- Development since 1.16.1-dev.2141+3474979
@ovok/native/next/data-sync exposes the HealthKit and Health Connect import
contract through @ovok/core/next. It reuses the existing data-sync module and
keeps its legacy import path available. Start with the next client
for client setup and HealthKit and Health Connect for platform
permissions, record mapping, and import behavior.
import { DataSync } from "@ovok/native/next/data-sync";
<DataSync.AppleHealthAuthorizationProvider readIdentifiers={readIdentifiers}>
<DataSync.AppleHealthSync dataToSync={dataToSync} />
</DataSync.AppleHealthAuthorizationProvider>;The DataSync components use the signed-in patient from the next client provider.
For a headless Android Health Connect import, use
runAndroidHealthConnectSync instead.
See the full health-data guide and the data-sync API reference.
Last updated on