Introduction
Install the rook_sdk_samsung_health package and learn about its features.
Features
- Get authorization.
- Register users.
- Sync Samsung Health summaries and events.
- Schedule automatic Samsung Health data syncs in background.
Restrictions
- Samsung Health Data SDK requires Samsung Health v6.29 or later version installation.
- Samsung Health runs on devices with Android 10 (API level 29) or above. It is available on all Samsung smartphones and also non-Samsung Android smartphones.
- The SDK doesn’t support an emulator.
Development environment
Dart and Flutter
This package was developed with the following sdk constraints:
- dart:
>=3.0.0 <4.0.0
- flutter:
>=3.0.0
Android Studio
The SDK requires Android Studio Koala Feature Drop | 2024.1.2 Patch 1 or higher.
Required dependencies
To use this package you'll need to add the following dependencies to your project:
Installation
flutter pub add rook_sdk_samsung_health
In your build.gradle (app module) copy the samsung-health-data.aar file to your project libs directory and include it as a dependency:
dependencies {
implementation(files("$rootDir/libs/samsung-health-data-api-1.0.0-b2.aar"))
}
Samsung Health Data also needs the following dependencies to work correctly:
dependencies {
implementation("com.google.code.gson:gson:2.13.0")
}