scheduleAndroidHealthConnectSync
Schedules a WorkManager wake-up that starts the registered headless JS task. The task must create the host app's authenticated client and run the desired AndroidHealthSync service; the SDK cannot serialize a client or auth token.
Kind: Function
Package: @ovok/native
Import
import { scheduleAndroidHealthConnectSync } from '@ovok/native/background-sync';
TypeScript signatures
(options?: AndroidHealthConnectBackgroundSyncOptions): Promise<void>
| Parameter | Type | Details |
|---|---|---|
options | AndroidHealthConnectBackgroundSyncOptions | — |
Returns: Promise<void>.
Learn the workflow
Continue with Background Sync for the workflow context and examples.