infiniteoverflow / infiniteoverflow/Libro

Display screen to gather user information

Open
#142 12 comments 0 reactions 0 assignees View on GitHub
enhancement hactoberfest_accepted
Dominant language
Dart
Stars
58
Forks
49
PR merge metrics
No merged PRs in 30d

Description

After a user registers, they will be asked to log in to the app. We need to provide a check in the login screen to check if the user that is logging in is a first-time user or an existing user.

If she/he is a first-time user, redirect the user to the InfoScreen which can be found in the `screens` folder. Gather information about the user and add it to Firebase Realtime Database.

For checking the type of user, you can use Firebase Realtime DB. Check if an entry for the UID of the user is there in the DB or not. If its not there, then this user is a first-time user.

Contributor guide

Open the contributing guide

Research direction

Start by reading the login screen and the InfoScreen in the screens folder, then inspect how Firebase Realtime Database stores entries by user UID. Implement the first-time-user check after login, collect the requested information in InfoScreen, and store it in Firebase. Done means new users are redirected and saved, while existing users are not.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, firebase, flutter
Domain
authentication, database, mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.