Flutter
Spike Flutter SDK is a library on top of HealthKit that
- helps with the extraction of data.
- pushes data to SpikeAPI and delivers standardized data.
- iOS 13.0+
- Xcode 13.0+
Go to your target's Signing & Capabilities section and add HealthKit.
Allow Clinical Health Records, Background fetch, and Background Delivery.

More details you can find here.
Add Health Kit permissions descriptions to your Info.plist file.
You can download the Flutter SDK here. Please import the following libraries to your code:
To set up Flutter SDK please provide the user ID, client ID, and auth token. You can find tokens on the Spike developer console. Typically _userId will be a user ID from your application. Personal identifiable information should not be used in the _userId.
Reading Apple HealthKit data
SpikeTaskRunner enables background tasks to send data to the backend periodically.