fit_kit 0.0.1 copy "fit_kit: ^0.0.1" to clipboard
fit_kit: ^0.0.1 copied to clipboard

discontinuedreplaced by: health
outdated

Flutter plugin for reading health and fitness data. Wraps HealthKit on iOS and GoogleFit on Android.

FitKit #

Flutter plugin for reading health and fitness data. Wraps HealthKit on iOS and GoogleFit on Android. Currently only supports reading heart rate, step count, height and weight.

Usage #

To use this plugin, add fit_kit as a dependency in your pubspec.yaml file.

Getting Started #

Android

Enable Fitness API and obtain an OAuth 2.0 client ID.

iOS

Enable HealthKit and NSHealthShareUsageDescription key to the Info.plist file.

Sample Usage #

import 'package:fit_kit/fit_kit.dart';

void read() async {
    final results = await FitKit.read(
        DataType.HEART_RATE,
        DateTime.now().subtract(Duration(days: 5)),
        DateTime.now(),
    );
}
45
likes
0
pub points
55%
popularity

Publisher

unverified uploader

Flutter plugin for reading health and fitness data. Wraps HealthKit on iOS and GoogleFit on Android.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on fit_kit