I try to put this plugin on my Android app https://github.com/leecrossley/cordova-plugin-pedometer
I put this on my OnDeviceReady :
var successHandler = function (pedometerData) {
alert(pedometerData.numberOfSteps);
};
pedometer.startPedometerUpdates(successHandler, onError);
I tried several code but it doesnt work,
Someone has a solution please