Pedometer, counting the steps

Hi, I am new to ionic coding but currently I am doing a project for a fitness app. I was wondering if it is possible to include a Pedometer function based on the motion of the mobile phone when users takes it to go for a run or walk.

Do share your opinion or any source codes where it could be a starting point for me.

Any help would be greatly appreciated !

Capacitor: GitHub - perfood/capacitor-healthkit: Capacitor plugin to interact with HealthKit
Cordova: Health Kit | HealthKit Plugin for iOS Apps | Ionic Documentation

1 Like