Flutter Phone Authentication | Implementing Phone Auth Using Flutter & Firebase + Source Code

preview_player
Показать описание
In this video you will learn phone number authentication using firebase and flutter, where we will design a login screen for getting phone number, a verification screen for getting 6 digit OTP code from firebase and verifying it, then logging user in and give access into our app.

The code is explained in a very simple way, and the source code is also clear. so be sure to follow the video till the end.

Links used in Video:

More About Flutter:

👋 Follow me on social media:

Рекомендации по теме
Комментарии
Автор

For real devices:
add this line to app level build.gradle - implementation
and also add SHA-256 of your app into firebase.

LazyTechNo
Автор

you work really hard for your little programmers! u do all this explanation even for free! 🤟🤟

adoniashaile
Автор

Which is best for flutter statement management?which one you always prefer ?

ashokkmr
Автор

i have this type Exception : "This request is missing a valid app identifier, meaning that neither SafetyNet checks nor reCAPTCHA checks succeeded. Please try again, or check the logcat for more details."

harshitpanchal
Автор

Thank you for a great tutorial! I've tried many tuts but just yours works perfect. So i have a question, do you plan to do a second part with a persisting user auth and some other features?

kadyr
Автор

Thanks for the video... Is this first step for the video "like system" that u made?

Dawamid
Автор

Loved your content, but when i use the same code as yours its showing error- This request is missing a valid app identifier, meaning that neither SafetyNet checks nor reCAPTCHA checks succeeded. Please try again, or check the logcat for more details.
I have enabled phone authentication in firebase console. Can you help??

nimishbansal
Автор

The way you delivered the concept is very understanding. Thumbs up

rizwanzafer
Автор

wooaah. amazing explanation!! Thaank you!

abrarlasebai
Автор

hello techno, if the user has been verified successfully why did you just checked value.user != null? In what case the user can be null?

smart-tech
Автор

Sir
instead of PinPut if we use 6 textfield how can we compare the verification code then?

DanishAli-dsut
Автор

can i input username and password if I use number phone method. so in register form have 3 field (number phone, username, and password)

m.galihpratama
Автор

Video is absolutely fine bro. All I want to know is how did you connect vscode to the emulator. please give me some reference for the same if possible.
PS: I am running on Ubuntu

sravankumaryadav
Автор

first off thank you very much for this amazing tutorial,
and second what you did is logged in the user after the verification, what if we wanted to Register a new user after the verification, what can we do after the onSubmit on 20:57

idkanymoreman
Автор

Sir, can we check if a phone number is already registered in firebase

sparshbansal
Автор

Can you show an example using an actual number and not a test number?

joelphilip
Автор

@LazyTechNo if we click next button it is going to otp screen without entering mobile number any solution to it . thanks in advance

deepaks
Автор

Great tutorial but OTP auto fill not working, sms is coming and I need to manually enter the SMS OTP inside the

himanshudhankecha
Автор

The code works perfectly except when putting an invalid OTP, instead of showing the bar, it crashes the app and the code throws an error, any idea why?

indrayuddroychowdhury
Автор

Good tutorial, we need new one with country picker

ahmedmokabel