If you want to create the next killer lifestyle fitness app, chances are high that you want to log your measurements into the official Health app on iOS using HealthKit.
While in the past you might have used a Cordova plugin (and you still can with Capacitor!), there’s now also a simple Capacitor HealthKit plugin from the community that we can use to access some metrics.
If you are interested in the usage of the Cordova plugin, check out my old Ionic HealthKit integration tutorial!
Let’s do it!
The full quick win with snippets is only available to Ionic Academy members.
Join now for
- Unlimited access to all quick wins
- Library of 40+ step-by-step video courses
- Support for Ionic questions via Slack & private community