How to Track Activity like Person Walking,Running,Driving in ionic

Actually Currently i working on Activity tracking app. In this app i need to find whether person walking on road/street or driving, Running using ionic.

Did you checked Ionic Native? They having lots of awesome Native wrappers, in your case please look for Pedometer.

is possible to tracking person walking or running in pedometer…

I think so, that is for what this Pedometer is available

But the pedometer is sometimes working when i’m in driving also