B
B
BonBon Slick2020-07-29 11:12:10
JavaScript
BonBon Slick, 2020-07-29 11:12:10

How and with what to count the steps of the user in the application?

Nuxt + Cordova application, as I understand it, you need to install a plug-in for cordova Like
cordova -plugin-stepcounter but it was updated years ago.

Perhaps there is another solution or more reliable JS package, Codova plugin?
Or stir up a separate API on the Java Android SDK?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
profesor08, 2020-07-29
@BonBonSlick

There is not a lot of code, you can figure it out and file it for yourself. Or use as is. In fact, there you get access to the sensor and read data from it.
You can also google better https://www.google.com/search?newwindow=1&q=cordov...
right away - https://github.com/achubutkin/cordova-plugin-stepper

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question