uoftblueprint / the-period-purse-2023

Menstruation Nation (M. Nation) is a free period tracker designed for youth. The app helps people learn more about their bodies by tracking their period cycle and symptoms.
https://uoftblueprint.org/#/
GNU General Public License v3.0
5 stars 1 forks source link

70 Onboard data storage + onboarded detection on launch + delete user app reset #90

Closed kevinle623 closed 1 year ago

kevinle623 commented 1 year ago

Hello in the following PR, I have implemented the following features:

  1. On-launch, the app detects whether or not the user has onboarded or not and navigates them to the appropriate page
  2. When user is completes the onboarding page and clicks "Let's go", all the input data will be stored in the Room Database locally in their device.
  3. In the settings page, user is able to Delete their account which resets the database and viewmodels while navigating back to Welcome Page to start onboarding as a new user.

Currently everything works as intended. Will be looking into testing database.

If there are any issues or feedback please let me know. Thanks.