I am developing Android app using Firebase. Because of that, I want to use Firebase Auth. I have following requirements:
Use Fake Email:
Well, Firebase doesn't support sign in with mobile number and password but it supports email and password. So you can create a fake email with your mobile number.
Ie: 78******69@yourdomain.com
Also, you can create a complete Authentication system using it.
Registration:
Input user mobile and password and proceed to the next page.
Now use Firebase Phone Auth (OTP) to createUser. If process success, link fake email, password credentials in background.
AuthCredential credential = EmailAuthProvider.getCredentialWithLink(email, emailLink);
auth.getCurrentUser().linkWithCredential(credential);
Login:
signInWithEmailAndPassword()
.Forget Password: