The SDK is loaded to an app during app packaging. It starts when the app is launched and stops as soon as the app is closed.
The developer's app integrates Health Service Kit and does not need to apply for additional permissions from the phone system.
The developer can call the Health Service Kit APIs via the HMS Core SDK that has been integrated into the phone. The API calling will ultimately be processed by HMS Core, which must be granted with the corresponding permissions. The statement of the related permissions should be provided in the privacy statement of the developer.
Permission | Description | Purpose of Use | When to Request |
|---|---|---|---|
android.permission.INTERNET | Allows an app to open network sockets. | To synchronize data between HMS Core and Health Service Kit cloud | When the Health Service Kit capabilities are used |
android.permission.ACCESS_NETWORK_STATE | Allows an app to access network information. |
The health and fitness data written by a developer's app to Health Service Kit via the SDK will be periodically synched to the server.
Data Access Control
An app must pass the signature verification before calling APIs of the SDK.
An app requires user authorization before accessing the corresponding data through the APIs of the SDK.
An app can't read or write local health and fitness data when the phone screen is locked.
Local Data Encryption
If the Android version is later than 6.0 (API level: 23) or the system is HarmonyOS, the KeyStore encryption or the hierarchical protection mechanism for the system hardware is used to ensure the security and reliability of local data.
Server Data Protection
The health and fitness data on the server is protected with user-level keys and is encrypted using AES GCM 256.
The encryption key of the health and fitness data is stored on the KMS server and is isolated from user data.