justynth / Friend_Builder

1 stars 4 forks source link

Help Wanted: Email Verification #57

Open wzheng23 opened 6 years ago

wzheng23 commented 6 years ago

https://firebase.google.com/docs/auth/android/manage-users

Problem: The user needs to verify the email address that they are using to create an account.

Task Structure: a) User attempts to log in with an unverified email. b) Catch this and notify the user that the email needs to be verified. c) Exit the app.

nlagrassa commented 6 years ago

Hi! I'm assigned to handle this help wanted. Just want to make sure I understand a few things:

(1) This check should be done in LoginActivity.java, within onAuthStateChanged, between user.getEmail and userReference.child?

(2) You want the user to be immediately logged out after reading a notification that they need to verify their email?

wzheng23 commented 6 years ago

1) correct 2) correct

Talk here for quicker responses: https://gitter.im/Friend_Builder/Lobby