wuwx-step-counter
使用方法
import * as StepCounter from '../../uni_modules/wuwx-step-counter'
StepCounter.startStepCountingUpdates({
handler: (numberOfSteps, timestamp, error) => {
console.log(numberOfSteps)
}
});
开发文档
UTS 语法
UTS API插件
UTS 组件插件
Hello UTS