Introduction
Install the rook_sdk_health_connect package and learn about its features.
Features
- Get authorization.
- Register users.
- Sync Health Connect summaries and events.
- Schedule automatic health data syncs every time the app is launched.
- Track and upload steps from Android System in background.
- Retrieve a list of other available data sources.
- Display a pre-built connections page inside your app.
Development environment
Dart and Flutter
This package was developed with the following sdk constraints:
- dart:
>=3.10.4 <4.0.0 - flutter:
>=3.0.0
Android Studio
Android Studio Narwhal 4 Feature Drop | 2025.1.4 or higher is recommended.
Required dependencies
To use this package you'll need to add the following dependencies to your project:
Installation
- rook_sdk_health_connect
- Latest version:
- Latest stable version: 4.0.0
- LTS version (supported until September 27, 2026): 3.3.0
- Latest version:
- rook_sdk_core
- Latest version:
- Latest stable version: 4.0.0
- LTS version (supported until September 27, 2026): 1.2.0
- Latest version:
flutter pub add rook_sdk_core
flutter pub add rook_sdk_health_connect