In this video we will learn using Firebase Phone Authentication in our Android Application.
The best thing about firebase is, it can completely replace your backend, and it is absolutely free for starter apps.
Every service is free upto some limit, with Firebase Phone Authentication you get 10,000 free authentications per month. Thats amazing, you will not find any other otp service provider for free.
You might have already seen this type of authentication, the basic philosophy is, user…
In the mCallBack instance we have the method
onVerificationCompleted(PhoneAuthCredential phoneAuthCredential){}
And here instead of creating another PhoneAuthCredential object by calling the method verifyCode() we can directly use this PhoneAuthCredential object for signInWithCredential() method.
And this is a much better way. Thank You and sorry that I forget to say this in the video.
when I delete my number from firebase, and when I try again sent aut vit phone number didnt work?Why?
how can i login if i decided to logout. do i need to have a verification again?
thanks for the tutorial its very helpful 🙂
Very nice video! Thank you
Thank you sooo much Bilal…it helped me a lot..thanks for sharing.could you please make a video on firebase analytics in deeper tutorial and also on firebase remote config.
Not Getting OTP 🤔
can you please make save user info after phoneauth and put Authstatelistner on it.
If user enter different Mobile instead of his number then how you can get the OTP??
Thanks it worked and help me alot
I am not getting the otp code.
simple, clear and useful explanation Thanks a lot man we need people like you.
Sir, I need country names and code class
When I enter same number i can't receive otp again
Then what can I do ?
How can we change the text message ?
Thanks, you are the best!!!
why you not use github?
telefon format error. who know exemple true format? example i send telefon +79201234567
my app keeps crashing logcat says the Phoneauthprovider.getinstance().verifyphonenumber() methos is unkown. please help
Thenk you for your tutorial but when i try to run it i get this message " the forma of your number provieded is incorrect ……." , how can i fixe it ? knowing that i am from algeria with +213 code . thank you !
hi sir,
Thanks for your explanation.
I did same as what you said but it is displaying the following error "This app is not authorized to use firebase authentication.Please verify that correct package name and SHA-1 are configured in the firebase console [App validation failed]"
package name and SHA-1 ARE correct in firebase console.
Can you please help me.
Thank uuuuuuuu soooo much…..
Thank you so much! Keep on sharing your awesome videos
How to remove authenticated user from Firebase Authentication Console. Please help….
Thanks a lot !
Sir once i logout from my apps… I couldn't log in again… I didn't get any verification code at second time and String code shows null. Plz tell whats the problem.Thanks in Advance sir
sir I am not able to get code for second time. kindly guide me through it is important.
sorry out of topic. but can we remove user from firebase authentication using userId without Admin SDK? thanks
Sir can you make beginner Series on Using Android with Node.js
stackoverflow.com/questions/50957789/google-play-games-login-with-firebase-notworking
Anybody knows a solution?
Sir only otp is generated once. Once i logout otp is not received any solutions?
Sir After completing signing in I want to direct the user to account setup activity and then after completing the process I want the user to enter the profile activity How can I do this Please Help
can we do this that we login with email and password and in signin we authenticate the number like google send the code on the mobile
Sir how can we prevent to login automatically??
I want to login by pressing sign in button.. kindly let me know
nice vidoe
sir. i'm one of your subscribers. if i can make a request, please create a tutorial how to create firebase auth with custom fields like your video before (https://youtu.be/7Yc3Pt37coM) but with using phone auth. thank you sir.
Your videos are awesome 👌
💖
It's 3:07 am and you posted video shows you are really working hard on this channel
Thanks brother…