simple_step_history 0.0.3 simple_step_history: ^0.0.3 copied to clipboard
Flutter plugin to query steps from mobile phone.
simple_step_history #
A simple steps history fetcher. #
- iOS with CMPedometer API
- Android with GoogleFit API
Functionality: #
- Request Authorization 'SimpleStepHistory.requestAuthorization()'
- Check is steps available or not 'SimpleStepHistory.isStepsAvailable'
- Fetch steps history by date 'SimpleStepHistory.getStepsForDay(dateStr: 'yyyy-MM-dd')'
Note #
- Make sure to add privacy request string in iOS info.plist
- Make sure to add GoogleFit API in your google developer console