A flutter plugin for using Apple HealthKit and Google Fit.
-
Add to pubspec.yaml:
flutter_health_fit
. -
Open your iOS Xcode project (Runner.xcworkspace)
-
Capabilities: Enable HealthKit
-
Open the
info.plist
-
Add: NSHealthUpdateUsageDescription, NSHealthShareUsageDescription.
-
For android user