Introduction
The ROOK Flutter SDK for Health Connect provides an efficient framework for integrating Android health data into Flutter applications. To ensure compatibility, the development environment must utilize Dart version 3.0.0 or higher and Flutter version 3.0.0 or higher, alongside a modern Android Studio installation. The SDK offers advanced features such as automatic synchronization of summaries and events every time the application is launched and the ability to track and upload steps from the Android System while running in the background. Implementation covers critical workflows including user registration, authorization management, and the retrieval of alternative data sources.
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.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_health_connect