Common principles
SDK-based integrations (Apple Health Kit, Android Health Connect, and Samsung Health Data) have a few common principles that separate them from all other providers.- Data is stored only on the device (phone) therefore, requires to be actively extracted
- Permission control is very gradual (each metric reading requires approval)
- Data becomes available instantly as it’s recorded
- Integration requires active management through SDKs
Creating integrations
Creating these integrations does not follow the OAuth path. Meaning- there will be no redirecting to the provider authorization page,
- and therefore no callback to URL after permissions are granted.
- Permissions are granted locally, on the phone itself, by triggering SDK methods.
- Permissions are also managed by default OS schemas, application users navigating settings menus, are granted for application package (reinstalling the app might require reauthorization), can be revoked or ignored when requested by OS based on their policies.
