infiniteoverflow / Libro

An App Built using flutter using which we can share books with people around us !!
55 stars 50 forks source link

Display screen to gather user information #142

Open infiniteoverflow opened 3 years ago

infiniteoverflow commented 3 years ago

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.

purushottam212 commented 3 years ago

hey, google services file link not working

infiniteoverflow commented 3 years ago

What is the issue you are facing @purushottam212

purushottam212 commented 3 years ago

links redirects to page not found

infiniteoverflow commented 3 years ago

ohh sorry , will fix it right away! Thanks for letting me know

infiniteoverflow commented 3 years ago

I have updated it @purushottam212

saksham-gt commented 3 years ago

Hey, can I take this issue? If yes, then can you tell me what are the info we are expecting from the user?

infiniteoverflow commented 3 years ago

Sure @sudo-saksham , go ahead

We are not expecting anything from the user in this issue. Its just that we have to check if the user is already registered or a first-time user. In order to check that, we need to check the Realtime DB where we will be storing the users data from the InfoScreen in the screens folder. If data for the particular user is not available in the DB, then we need to redirect the user to the InfoScreen, else to the homepage.

So, hope this clears the requirement. Do let me know if you would like to work on this.

saksham-gt commented 3 years ago

Yes, I would like to work on it. @infiniteoverflow

divyanshkul commented 3 years ago

Is this issue still available? Can I work on it?

Priyanshu078 commented 3 years ago

I want to work on this issue Please assign me this issue @infiniteoverflow

saksham-gt commented 3 years ago

Cool, @infiniteoverflow I want to withdraw my participation in this issue as I won't be able to work on it.

alam-shoaib commented 11 months ago

i want to work on this issue is it still open? ca it be assigned to me?