MV Pedometer APi for mobile Android and iOS?

Is it possible to integrate something such as steps counter for a fitness game? I want this in my RPG maker and I want to make JavaScript plugin for this. How to?
I can't help you there, but if you turn out to be able to make a plugin like that, specially if it reads the steps from Google fit, I'd love a copy of that plugin.
This may be of help. https://developers.google.com/fit/scenarios/read-daily-step-total
I wish I was smart enough to understand that! Haha.

Original thread: https://forums.rpgmakerweb.com/threads/pedometer-api-for-mobile-android-and-ios.152031/