Skip to content

gregorybesson/pedometer-cordova

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pedometer-cordova

Pedometer plugin compatible with M7 chip

##How to install :

cordova plugin add https://github.com/gregorybesson/pedometer-cordova.git

Make sure you have the plugins files and CoreMotion and CoreLocation framework added to your project

Alt text

##How to use :

Init with callback function

window.PedometerCordova.init('', function(data)
{
    console.log(JSON.stringify(data));
});

Start recording

window.PedometerCordova.start();

Stop recording

window.PedometerCordova.stop();

About

Pedometer plugin compatible with M7 chip

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published