Flutter Firebase Phone Number OTP Authentication - Flutter Firebase 2023

  Рет қаралды 85,903

Coding With T

Coding With T

Күн бұрын

Пікірлер: 154
@Mustafa-jy8el
@Mustafa-jy8el Жыл бұрын
I love tutorials that start with the demo at the start of the video, allowing viewers to immediately understand whether this is the right video for them. And it definitely was- thank you brother.
@CodingwithT
@CodingwithT Жыл бұрын
Thank you 💕
@jyotibaruah1085
@jyotibaruah1085 2 жыл бұрын
Android device verification is deprecated so im facing problem while trying for otp verification. So please help what to use instead of ADV.
@jyotibaruah1085
@jyotibaruah1085 2 жыл бұрын
Thank you so much❣️❣️❣️
@mawandenxumalo4901
@mawandenxumalo4901 Жыл бұрын
It is now called Integrity API
@ali-sojib
@ali-sojib Жыл бұрын
@@CodingwithT sir there is no PhoneAuthOptions type in flutter ?
@matheusmelo4862
@matheusmelo4862 Жыл бұрын
any solution?
@madhurtyagi803
@madhurtyagi803 11 ай бұрын
I am also facing the same issue how did youu resolved it?
@ธีร์ธวัชสงวนรัตน์
@ธีร์ธวัชสงวนรัตน์ Жыл бұрын
Help me pls, I can't find Android Device Veritification in google cloud.
@terdoomzer
@terdoomzer 2 жыл бұрын
I am happy to see this! Well done Sir!
@CodingwithT
@CodingwithT 2 жыл бұрын
Thank you dear 😃
@mrtaimoorsikander
@mrtaimoorsikander Жыл бұрын
You saved me brother. Thnk you so very much T. I was wondering here and there for phone OTP then I finally landed at your tutorial and after this I not just watched complete playlist but purchased the code and want to thank you for saving me. Kepp up with great content.
@CodingwithT
@CodingwithT Жыл бұрын
Thank you bro. I'm glad to be helpful 😊
@lohithyadav497
@lohithyadav497 2 жыл бұрын
Hello im not getting SHA1,i running the all the commands in cmd but its showing for ,can you please solve it.
@CodingwithT
@CodingwithT Жыл бұрын
Did you get it?
@manarba2024
@manarba2024 Жыл бұрын
"android device verification" change to "Google Play Integrity API" ????
@dreamy4174
@dreamy4174 3 ай бұрын
Yes android device verification is not working can u tell what to do I'm getting error
@hafidznaqiuddin5076
@hafidznaqiuddin5076 Жыл бұрын
keytool : The term 'keytool' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 what this problem?
@CodingwithT
@CodingwithT Жыл бұрын
Is it resolved? There could be many reasons but make sure the directory is in your PATH env variables
@emmanuelkimutai-uo2fx
@emmanuelkimutai-uo2fx Жыл бұрын
you can do this. Switch to android in your terminal cd android. Then run the following command .gradlew signingReport
@JakeB-g3m
@JakeB-g3m Жыл бұрын
I bought the package and I'm really enjoying the tutorials! I'm having an issue here. The SMS text is never received. The Run log shows - W/FirebaseAuth(26995): [SmsRetrieverHelper] Timed out waiting for SMS. I confirmed that Google Play Integrity API is enabled (since Android Device Authentication API is no longer available). The recaptcha webpage briefly appears and goes away, but the SMS never shows up and I can't sign in. Any suggestions?
@kaisnguyen4086
@kaisnguyen4086 Жыл бұрын
I also had the same problem as you. Have you solved it yet can you guide me?
@anshikaguleria8794
@anshikaguleria8794 8 ай бұрын
mee too
@SGZGamer
@SGZGamer Жыл бұрын
android device verification is not showing in Google cloud at 6:15
@LewaaShaaban
@LewaaShaaban Жыл бұрын
same here, if you found the problem and ssalved it please reply to my comment
@CodingwithT
@CodingwithT Жыл бұрын
That method is depreciated. you can get new method from firebase.google.com/docs/auth/flutter/phone-auth
@samuelyao2637
@samuelyao2637 Жыл бұрын
Please Sir android device verification is no longer available. How do I use Play Integrity API for OTP authentication?
@CodingwithT
@CodingwithT Жыл бұрын
I will try to create a separate video on it but meanwhile you can go through docs, it's easy
@Nobisuke
@Nobisuke Жыл бұрын
i face some problem on ios. its not working on IOS but working fine on android, cdid i missed some configuration?
@gauravbhosle2167
@gauravbhosle2167 2 жыл бұрын
how can we show error messages on screen? for eg;- we got error invalid-phone or invalid-email so we have message corrosponding to this error in our exception directory but how can we show that msg on screen while authenticating on login screen.
@CodingwithT
@CodingwithT 2 жыл бұрын
You can directly call Get.showSnackBar() & pass error in it and you are good to go.
@aafaqadeel5585
@aafaqadeel5585 7 ай бұрын
​@@CodingwithT The Android device verification appears to be unsuccessful, bro.
@inshirakhan1367
@inshirakhan1367 5 ай бұрын
Hey it's very urgent. Kindly help So I got a project and there is an issue. First time jab mein na app run ki to login was working for OTP and captcha check but us Ka bad jab bi new run Kiya or any thing the OTP and captcha is not working. Sometimes it says it's internal error sometimes it says nothing but didn't register new user. Kindly help m
@omarrzgarrasheed7711
@omarrzgarrasheed7711 Жыл бұрын
very useful tutorial thank you my brother jazak allah xaira
@AbdelnourBoumaza-s4n
@AbdelnourBoumaza-s4n Жыл бұрын
love your work.but when i enter the google console cloude it does not have the device checker any more what the solution?
@HyderabadiEmraan
@HyderabadiEmraan Жыл бұрын
It is changed to Google Play Integrity Api
@daisyjemutai4971
@daisyjemutai4971 Жыл бұрын
Awesome work sir
@CodingwithT
@CodingwithT Жыл бұрын
Thank you 😊
@abdelkouddoushamel3827
@abdelkouddoushamel3827 Жыл бұрын
You are the best man, thanks so much for your your help!!
@CodingwithT
@CodingwithT Жыл бұрын
Thank you. I'm glad you like it 😊
@arunfrancis5921
@arunfrancis5921 Жыл бұрын
Hi sir, Actually i was trying to use the Android Device Verification API but its depreciated so how can i solve this problem? Please help.
@CodingwithT
@CodingwithT Жыл бұрын
No need to use that. Simply follow the instructions and keep the dependencies updated.
@jinkim3806
@jinkim3806 Жыл бұрын
wth, how do you store password for the same phone number, and other detials? how do we login with the same phone number as we have not set any password.
@CodingwithT
@CodingwithT Жыл бұрын
Without password using phone number you have to send OTP to users mobile and once verified, users can login. Storing passwords are not recommended
@jinkim3806
@jinkim3806 Жыл бұрын
@@CodingwithT thanks, but what if i have other data to store into Firestone on the sign up how do i store the data when the user is verified,
@CodingwithT
@CodingwithT Жыл бұрын
You can do it inside signup, when authentication succeeded in adding user data. Or if you are using Authentication Repository and listening to userChanges, in this case you'll be auto redirected to some other page. So check accordingly
@oneebkhan4453
@oneebkhan4453 2 жыл бұрын
Great Tutorial. Any chance you show how to do the iOS part? I can't find any tutorials at all. Most of them outdated even if I find one.
@CodingwithT
@CodingwithT 2 жыл бұрын
I'll try to create IOS series for Firebase.
@oneebkhan4453
@oneebkhan4453 2 жыл бұрын
@@CodingwithT Thanks
@imranaziz574
@imranaziz574 2 жыл бұрын
Very superb tutorials Sir, i have learned many things, but there are 16 videos only till OTP verification remaining videos not added in this playlist?
@CodingwithT
@CodingwithT 2 жыл бұрын
Thank you 😊. There are a few tutorials still left and underway 😃. They will be created in a few days.
@faheemahmadofficial7701
@faheemahmadofficial7701 2 жыл бұрын
Please teach us now how ro build an admin panel for a doctor patient app or any other fields
@CodingwithT
@CodingwithT 2 жыл бұрын
Sure Buddy, next tutorials might be related to you. To Create, read, update and delete any data from Firebase
@faheemahmadofficial7701
@faheemahmadofficial7701 2 жыл бұрын
@@CodingwithT Thanks :) I want to build an admin panel..to handle apps. my side project hobby
@JunaidAnsari-kj2oh
@JunaidAnsari-kj2oh 2 жыл бұрын
Bro please make a video on how to make a payment method activity in android studio...pleasee...
@CodingwithT
@CodingwithT 2 жыл бұрын
Good suggestion 😃. I'll create that soon
@abrahemgh1002
@abrahemgh1002 Жыл бұрын
@@CodingwithT still waiting :)
@ashwinth
@ashwinth 10 ай бұрын
I am getting a Failed to load page when trying to verify android device. Anyone else faced this issue ?
@aafaqadeel5585
@aafaqadeel5585 7 ай бұрын
same bro
@somethingcreative9137
@somethingcreative9137 Жыл бұрын
'-list' is not recognized as an internal or external command,................sir plzz
@CodingwithT
@CodingwithT Жыл бұрын
I think you are using the list wrongly. Check spellings.
@tekotempatkopi
@tekotempatkopi 2 жыл бұрын
Awesome, i really like this..
@CodingwithT
@CodingwithT 2 жыл бұрын
Thank you 😊
@immortalforce9467
@immortalforce9467 Жыл бұрын
Sir, i tried the otp but mine alway redirects to browser for recaptcha
@CodingwithT
@CodingwithT Жыл бұрын
Don't worry it happens. On emulator it often happens so until its working, nothing to worried about.
@PriyadharshiniRavi-ec7vf
@PriyadharshiniRavi-ec7vf Жыл бұрын
Bro flutterfire config command line gives error what can i do further here the error: flutterfire : The term 'flutterfire' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
@PriyadharshiniRavi-ec7vf
@PriyadharshiniRavi-ec7vf Жыл бұрын
plz reply
@rj27thug78
@rj27thug78 Жыл бұрын
@@PriyadharshiniRavi-ec7vf also check firebase documentation on this and follow as instructed.
@krastann
@krastann Жыл бұрын
I faced same error today, You need to add 'C:\Users\*username*\AppData\Local\Pub\Cache\bin' in System Environment Variables Path...You can access the edit by going by pressing Win + X -> System -> Adv sys settings then environment variables...Add the Path in System Variable's Path then Save it Restart your machine and then re run Flutterfire configure
@sivasubramanian8345
@sivasubramanian8345 Жыл бұрын
Great Tutorial, Sir. How to add the auto-fill feature to it, to auto-detect the generated OTP. And also, the re-captcha is still showing even after enabling Google Play Integrity API and adding SHA-256. Thanks in advance.
@arpitsanadhyaa
@arpitsanadhyaa Жыл бұрын
No solution for recaptcha brother. Im googling for the solution more then 10 hours
@sivasubramanian8345
@sivasubramanian8345 Жыл бұрын
@@arpitsanadhyaa Yeah brother, I too searched a lot, but can't resolve it
@arpitsanadhyaa
@arpitsanadhyaa Жыл бұрын
@@sivasubramanian8345 there is only one solution. We can fill a form and send it. Than they will enable ANDROID DEVICE VERIFICATION API in our project. After that it will be fine.
@sivasubramanian8345
@sivasubramanian8345 Жыл бұрын
@@arpitsanadhyaa okay thanks, will try it
@isurujn
@isurujn Жыл бұрын
@@arpitsanadhyaa What form? Where can I find it?
@AshadNadeem-p8d
@AshadNadeem-p8d Жыл бұрын
Superb tutorial brother, very detailed. There is an issue I am facing: SMS verification code request failed: unknown status code: 17028 A safety_net_token was passed, but no matching SHA-256 was registered in the Firebase console. Please make sure that this application’s packageName/SHA256 pair is registered in the Firebase Console.
@vinhkhangphan7599
@vinhkhangphan7599 Жыл бұрын
hi, i can't find the src directory in lib , can u help me ? is there any problem with my app ?
@CodingwithT
@CodingwithT Жыл бұрын
Hi, it's a custom made folder dear you can create any folder and name it anything in lib
@hanooooihanooooi1907
@hanooooihanooooi1907 2 жыл бұрын
Hi, I bought the source code but the opt doesnt work and got this (errors code otp message Failed to send SMS). Please help me
@CodingwithT
@CodingwithT 2 жыл бұрын
Have you configured your Firebase setup for this project?
@tonymetogo5287
@tonymetogo5287 2 жыл бұрын
Hello I need your help please I want to make a system with flutter that generates an alphanumeric code when the user registers how to implement this please
@CodingwithT
@CodingwithT Жыл бұрын
Hi, you can do it buy creating a Helper Function and inside create a string with required numbers, alphabets and so on. const _chars = 'AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz1234567890'; Random _rnd = Random(); String getRandomString(int length) => String.fromCharCodes(Iterable.generate( length, (_) => _chars.codeUnitAt(_rnd.nextInt(_chars.length)))); You can print them like this print(getRandomString(5)); // 5GKjb
@slimshady7625
@slimshady7625 8 ай бұрын
what if i try to login with the same number registered during signup will this code work?
@CodingwithT
@CodingwithT 8 ай бұрын
Yes 👍
@manishsaxena2974
@manishsaxena2974 Жыл бұрын
android device verification is not available in google cloud console what to do now?
@alizafar4227
@alizafar4227 Жыл бұрын
yes same here!
@mahmudhassan4491
@mahmudhassan4491 Жыл бұрын
any solution?
@abhishekthapliyal7933
@abhishekthapliyal7933 2 ай бұрын
Can we also have for flutter web ?
@CodingwithT
@CodingwithT 2 ай бұрын
Flutter web course is already being uploaded
@abhishekthapliyal7933
@abhishekthapliyal7933 2 ай бұрын
Thanks and with we don't need to create first right, I mean that will take care of creating user?
@abhishekthapliyal7933
@abhishekthapliyal7933 2 ай бұрын
@@CodingwithT : Can you share the link? that will be helpful
@techfauz
@techfauz 5 ай бұрын
Is this service free? I thought OTP authentication won't send sms for testing
@Cha-do7ou
@Cha-do7ou 2 жыл бұрын
CODE DOES NOT WORK!!!
@CodingwithT
@CodingwithT 2 жыл бұрын
What error you are facing?
@monstarfirst
@monstarfirst Жыл бұрын
how can i login using otp number you forget it?
@TheJLZ
@TheJLZ Жыл бұрын
How can I return to the login and sign up menu once logged in?
@CodingwithT
@CodingwithT Жыл бұрын
By following this approach you can go back to login when logged out. The way around is if you want to go to the login signup screen you can Simply call them.
@sahilsadhuramani
@sahilsadhuramani Жыл бұрын
help sir after doing all steps in the end it is not running and showing error please help
@sahilsadhuramani
@sahilsadhuramani Жыл бұрын
Unhandled exception: FileSystemException(uri=org-dartlang-untranslatable-uri:dart%3Ahtml; message=StandardFileSystem only supports file:* and data:* URIs) #0 StandardFileSystem.entityForUri (package:front_end/src/api_prototype/standard_file_system.dart:34:7) #1 asFileUri (package:vm/kernel_front_end.dart:654:37) #2 writeDepfile (package:vm/kernel_front_end.dart:794:21) #3 FrontendCompiler.compile (package:frontend_server/frontend_server.dart:629:9) #4 starter (package:frontend_server/starter.dart:99:12) #5 main (file:///C:/b/s/w/ir/x/w/sdk/pkg/frontend_server/bin/frontend_server_starter.dart:13:14) Target kernel_snapshot failed: Exception 2 FAILURE: Build failed with an exception.
@nikhilpandey4118
@nikhilpandey4118 Жыл бұрын
when login verification part will come?
@CodingwithT
@CodingwithT Жыл бұрын
I'm having covid so after a week I will be back on track :D
@quanvanmanh185
@quanvanmanh185 Жыл бұрын
i didn't find Android device verification help me
@CodingwithT
@CodingwithT Жыл бұрын
Its now a safety net that you have to configure. Android device verification is deprecated
@bloomingtonsdirect6921
@bloomingtonsdirect6921 2 ай бұрын
my system is asking for keystore password. what the solution? and your video content is very helpful thanks.
@CodingwithT
@CodingwithT 2 ай бұрын
It’s been a very long since I never touched keystore but i think you can generate one
@bloomingtonsdirect6921
@bloomingtonsdirect6921 2 ай бұрын
@@CodingwithT kasy bhai? tell me the way.
@sibilrahman.p
@sibilrahman.p Жыл бұрын
I got an error Problem retrieving SafetyNet Token: 7
@CodingwithT
@CodingwithT Жыл бұрын
Can you please explain it
@sibilrahman.p
@sibilrahman.p Жыл бұрын
@@CodingwithT First of all thanks for replaying my comment. This is the error I got when I used phone authentication in firebase. E/zzf (15454): Problem retrieving SafetyNet Token: 7: I am getting otp message but there is reCAPTCHA issue. Saftey Net is Deprecated ...
@MercytoHumanity-z3j
@MercytoHumanity-z3j Жыл бұрын
when sumit otp type 'Null' is not a subtype of type 'String'
@CodingwithT
@CodingwithT Жыл бұрын
It means the variable which is looking for non null able String value but receiving null.
@MercytoHumanity-z3j
@MercytoHumanity-z3j Жыл бұрын
@@CodingwithT Unhandled Exception: [firebase_auth/invalid-verification-id] The verification ID used to create the phone auth credential is invalid
@arnoldhattingh4952
@arnoldhattingh4952 2 жыл бұрын
does this also work for ios?
@CodingwithT
@CodingwithT 2 жыл бұрын
Yes it does.
@ashenhewavithana9479
@ashenhewavithana9479 Жыл бұрын
my login is not working properly
@CodingwithT
@CodingwithT Жыл бұрын
Any errors?
@XxTheSamuele00xX
@XxTheSamuele00xX Жыл бұрын
does this work with ios too=
@CodingwithT
@CodingwithT Жыл бұрын
Definitely 💯
@labradoryshockdart9734
@labradoryshockdart9734 Жыл бұрын
flutterfire config command is not working bro
@CodingwithT
@CodingwithT Жыл бұрын
Hi, sorry for the late reply 😪. Still having issue?
@rishavraj6487
@rishavraj6487 Жыл бұрын
bro can you share android device verification link because i am not able to open link it says There was an error while loading /apis/library/androidcheck.googleapis.com?project=tripp-9f50f. Please try again. It may be a browser or network issue. Go to the loading issues help page to troubleshoot the issue. Request ID: 1171542026589408738
@Skyy9670
@Skyy9670 Жыл бұрын
same issue. did you fix it?
@rishavraj6487
@rishavraj6487 Жыл бұрын
@@Skyy9670 nope still trying :(
@afiksourav8540
@afiksourav8540 2 жыл бұрын
please use dark theme
@CodingwithT
@CodingwithT 2 жыл бұрын
Ok. New videos are already in dark mode
@elmedia5786
@elmedia5786 Жыл бұрын
Ua alaykum assalam
@dr.rahultech
@dr.rahultech Жыл бұрын
Website is Down
@CodingwithT
@CodingwithT Жыл бұрын
Thank you for your patience. We are working on it and will be live soon.
@CodingwithT
@CodingwithT Жыл бұрын
We are back online 😁
@38_it_adarshsharma44
@38_it_adarshsharma44 Жыл бұрын
sir Android device verification API is depricated now it not present in the library then whatv should i enable in place of that
@iamsanchitdang
@iamsanchitdang Жыл бұрын
Is it true?? So should i go for this video or not? Any suggests
@CodingwithT
@CodingwithT Жыл бұрын
Which library? You just have to enable them on the link that i talked about and select your project before enabling
@38_it_adarshsharma44
@38_it_adarshsharma44 Жыл бұрын
@@CodingwithT sir please can u share the link here for "Android Device Verification " library
@CodingwithT
@CodingwithT Жыл бұрын
If you read out the official documentation of flutter firebase. They stated that you have to enable this deprecated api means we have to if we want to use this service. console.cloud.google.com/apis/library/androidcheck.googleapis.com?pli=1
@6반박현재_3918
@6반박현재_3918 Жыл бұрын
@@CodingwithT that link doesn’t work. I already select my project. What should I do?
@rishavraj6487
@rishavraj6487 Жыл бұрын
for otp message it says Something went wrong.Try again
@madhurtyagi803
@madhurtyagi803 11 ай бұрын
I am also facing the same issue how did you resolved it
Flutter Profile Page UI Design - Flutter App Design [2023]
22:15
Coding With T
Рет қаралды 87 М.
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 62 МЛН
How to store data in Firestore Flutter - Cloud Firestore 2023
13:08
Coding With T
Рет қаралды 98 М.
Auto-Read SMS and Autofill OTP Code in Flutter
23:27
Snehasis Ghosh
Рет қаралды 4,6 М.
Phone Number OTP Authentication App In Flutter With Firebase
25:04
Dear Programmer
Рет қаралды 7 М.
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41