Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Latest commit

 

History

History
18 lines (14 loc) · 495 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 495 Bytes

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