Skip to content

UHN/flutter_health_kit

 
 

Repository files navigation

flutter_health_kit

This plugin allows Flutter apps to read and subscribe to changes in the Apple HealthKit store.

Getting Started

Request authorization to read data from the HealthKit store:

bool isAuthorized = await FlutterHealthKit.requestAuthorization(
read: [HKSampleTypeIdentifier.workout]);

Read data from the HealthKit store:

final workouts = await FlutterHealthKit.querySampleType<Workout>(HKSampleTypeIdentifier.workout);

About

Local copy of flutter_health_kit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 56.6%
  • Dart 42.6%
  • Ruby 0.8%