No video

Master Phone Authentication in Flutter with Firebase: A Step-by-Step Guide

  Рет қаралды 10,999

Snehasis Ghosh

Snehasis Ghosh

Күн бұрын

Пікірлер: 50
@OussamaDakir
@OussamaDakir 5 ай бұрын
Hey thank you so much for the tut, can you add a tutorial on how to store user in database?
@minhthuandang369
@minhthuandang369 5 ай бұрын
yeah i need that too
@Snehasis4321
@Snehasis4321 5 ай бұрын
Working on next video It will be a full project of flutter firebase will show that tutorial there.
@lortoekmeng188
@lortoekmeng188 12 күн бұрын
Error: verification fail, an internal error has occur, any idea how to fix this problem, this error when I try to login with ios device, thanks you!!
@azizmetchonou
@azizmetchonou 2 ай бұрын
Good job man
@cricketinfo7701
@cricketinfo7701 6 ай бұрын
beautifully explained
@YOUSSEFMOHAMED-hg1dz
@YOUSSEFMOHAMED-hg1dz 6 ай бұрын
Hi, I am greatful for your explain, but when i try it in real device it throw this { Failed to initialize reCAPTCHA config: No Recaptcha Enterprise siteKey configured for tenant/project } so can you help me?
@krishnarao5331
@krishnarao5331 6 ай бұрын
exactly, im also getting the same
@Snehasis4321
@Snehasis4321 6 ай бұрын
please verify that you have added the sha1 key correctly in your firebase project as shown in the video, i am think it to be that issue cause without sha1 key or wrong sha1 key it might not work in real device.
@YOUSSEFMOHAMED-hg1dz
@YOUSSEFMOHAMED-hg1dz 6 ай бұрын
i add it correctly@@Snehasis4321
@user-gb6ul8et6e
@user-gb6ul8et6e 9 ай бұрын
I wants to create two types of users like Doctor and Patient then signup using OTP how can do that ?
@Snehasis4321
@Snehasis4321 9 ай бұрын
yes it is possible, create to separate ui for both of them, and store the type of the user : doctor or patient, and perform this normal authentication.
@user-gb6ul8et6e
@user-gb6ul8et6e 9 ай бұрын
@@Snehasis4321 how can do that ? can you make video on it.
@Snehasis4321
@Snehasis4321 9 ай бұрын
@@user-gb6ul8et6e ok i will do it.
@udaybhaskar9358
@udaybhaskar9358 7 ай бұрын
It's better to create separate apps, saying from experience 😅
@user-gb6ul8et6e
@user-gb6ul8et6e 7 ай бұрын
@@udaybhaskar9358 how connect them to each other?
@krishnarao5331
@krishnarao5331 6 ай бұрын
when im trying in the real device, it was not working, forget about the otp verification, its not even showing the show dialog. but when i added the mobilenumber and otp as testing in firebase, and then checking in the app, it immediately worked out. can u please let me what's the reason is?
@Snehasis4321
@Snehasis4321 6 ай бұрын
please verify that you have added the sha1 key correctly in your firebase project as shown in the video, i am think it to be that issue cause without sha1 key or wrong sha1 key it might not work in real device.
@krishnarao5331
@krishnarao5331 6 ай бұрын
mostly i did everything, what he explained in that video. any way l will cross check it once bro. i appreciate your kind response.@@Snehasis4321
@SakshiTewari-po3lc
@SakshiTewari-po3lc 2 ай бұрын
Error Pls help I have added my sha-1 and sha-256 fingerprints. However, when I click on send otp, the terminal of my vs code says that they could not generate the otp. Why is this error occurring ? My sha1 and sha256 fingerprints are correct. I connected Firebase and flutter using flutter fire cli in my VS Code terminal. The phone verification is enabled on my Firebase console. Yet, it’s showing that it cannot be connect when I click on send otp on my emulator.
@Snehasis4321
@Snehasis4321 2 ай бұрын
You can try on a real physical device, phone otp auth does not work in emulator.
@106_ajitapund4
@106_ajitapund4 9 ай бұрын
Getting some parameter exception !!Any solution to it?
@Snehasis4321
@Snehasis4321 9 ай бұрын
it may be due to some authentication issue from firebase, dont sent to many otp to a single phone number, they may block the request. It may also happen that you have written some thing wrong that is causing the issue please verify the code. You can also test with a real device sometimes, emulator don't work. If this didn't help you can ask me in chat.
@106_ajitapund4
@106_ajitapund4 9 ай бұрын
Hey tried checking that even so entire code seems fine but in some messages.pigeon.dart file there occurs some PlatformException host platform returned null value for non-null return value ?? What should be done to that
@Nobisuke
@Nobisuke 9 ай бұрын
is this a sign up? how can i check if there is a existing user or if the user already sign up? or can i use it as an authentication of OT then create my own sign in sign out on different backend?
@Snehasis4321
@Snehasis4321 9 ай бұрын
It can be used for both login and signup it authenticates the user using phone. To know if user is existing user or not for that we need to store the data in the database when logins for first time that can be on any database. And this phone authentication can also be integrate with other databases and other backend.
@Nobisuke
@Nobisuke 8 ай бұрын
@@Snehasis4321 how can i check if it is the first time log in using phone authenticate? does firebase store the data of the existing phone number that already authenticate?
@Snehasis4321
@Snehasis4321 8 ай бұрын
@@Nobisuke no firestore does not store any data on first time phone auth, firebase only create a new user with uid on first time phone auth. If we want to store that data we need to do that manually.
@Nobisuke
@Nobisuke 8 ай бұрын
@@Snehasis4321 ready implement it. one more question why does its not working on IOS? but in android it working fine. i already set optional number and set otp. but upon trying its not working on IOS
@Nobisuke
@Nobisuke 8 ай бұрын
@@Snehasis4321 hello, i already configure and its working now. but when i try to test on real device which(i should received an OTP) its not working. i am done on addingSHA to the firebase.
@user-vl7ly7jf4y
@user-vl7ly7jf4y 6 ай бұрын
Firebase phone authentication only 10 for daily? Is there any free opt SMS authentication without firebase?
@Snehasis4321
@Snehasis4321 6 ай бұрын
you can try appwrite phone auth atleast for now they dont have any phone auth limit and it is also free.
@NathjiArt1M
@NathjiArt1M 6 ай бұрын
Vraiment un grand merci !!!
@user-lk4ft3ms3m
@user-lk4ft3ms3m 10 ай бұрын
OTP AUTOFILL Update
@Snehasis4321
@Snehasis4321 10 ай бұрын
you can use this package otp_autofill for automatic otp fill.
@user-lk4ft3ms3m
@user-lk4ft3ms3m 10 ай бұрын
@@Snehasis4321 try but not working in android 12 and 13
@Snehasis4321
@Snehasis4321 10 ай бұрын
@@user-lk4ft3ms3m yes I checked it is not working, I will update you if I get any solution.
Meet the one boy from the Ronaldo edit in India
00:30
Younes Zarou
Рет қаралды 19 МЛН
what will you choose? #tiktok
00:14
Анастасия Тарасова
Рет қаралды 7 МЛН
Glow Stick Secret Pt.4 😱 #shorts
00:35
Mr DegrEE
Рет қаралды 11 МЛН
АЗАРТНИК 4 |СЕЗОН 1 Серия
40:47
Inter Production
Рет қаралды 427 М.
Auto-Read SMS and Autofill OTP Code in Flutter
23:27
Snehasis Ghosh
Рет қаралды 3,2 М.
Phone number OTP Authentication | Flutter firebase
25:48
Optimizers
Рет қаралды 103 М.
Flutter Firebase Push Notifications Tutorial | 2024
53:20
Snehasis Ghosh
Рет қаралды 15 М.
Stripe Payment Gateway Integration in Flutter
44:09
Snehasis Ghosh
Рет қаралды 9 М.
Phone Number OTP Authentication App In Flutter With Firebase
25:04
Dear Programmer
Рет қаралды 4,6 М.
Meet the one boy from the Ronaldo edit in India
00:30
Younes Zarou
Рет қаралды 19 МЛН