Hi! This is a demo project that retrieves data from Apple HealthKit for the past 7 days from the current date.
Android Version - https://github.com/Parithi/StepCounter_Android_Prototype
- Written in Swift
- Built without using storyboards. All views are programatically generated.
- Users can signin using Google & Apple Sign In
- Basic user database on Google Firebase
- No health information is uploaded to server
- User can log in using Apple & Google Sign In
- Allow access to Apple HealthKit
- On success, the step count details for the past 7 days are shown. Current daily step count target is set to 4000. Depending on the percentage of steps completed, different emojis are displayed
- Current day's steps are highlighted in a different colour and are only shown if any data is available.
- On failure to access HealthKit, the error message is displayed
- User can logout by clicking on the profile picture on the top right
- Refactor to MVVM or MVP
- Add Unit Tests
- Google Firebase
- TinyConstraints