mindful_minutes 0.2.0 copy "mindful_minutes: ^0.2.0" to clipboard
mindful_minutes: ^0.2.0 copied to clipboard

outdated

A Flutter plugin for saving mindful minutes to Apple Health.

Features #

Plugin for writing mindful minutes to Apple Health on iOS.

Features:

  • Check for write permission
  • Request write permission
  • Write mindful minutes

This works on iOS 12 (other pub.dev health plugins require a higher iOS version, so I created my own).

Getting started #

  • Add to pubspec.yaml
  • Use plugin in your code (see examples of all methods below)

Usage #

final _plugin = MindfulMinutesPlugin();

final bool hasPermission = await _plugin.checkPermission();

final bool isPermissionGranted = await _plugin.requestPermission();

await _plugin.writeMindfulMinutes(startTime, endTime);
12
likes
0
pub points
60%
popularity

Publisher

verified publisherachim.io

A Flutter plugin for saving mindful minutes to Apple Health.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on mindful_minutes