Movement detection using ionic

Is it possible to detect Walking(or any such movement) in an Ionic App ?

You might be able to get something set up with the geolocation plugin: http://ngcordova.com/docs/plugins/geolocation/

1 Like

Will it be possible to watch for minor movements (like 5 steps) using that plugin ?

Might try looking into something like this for reference.

http://www.html5rocks.com/en/tutorials/geolocation/trip_meter/

1 Like

I will try Geolocation and see if it helps practically. Thanks for the info. If there is anything else which is a concrete example with usage please do let me know.

If you like to count steps, you can try a pedometer… like this one: https://github.com/leecrossley/cordova-plugin-pedometer

2 Likes

Have you found it , is it possible to detect foot steps by user in ionic i am also struggling in this part.