Flutter Firebase Auth Login| Google Sign In | Android & iOS

  Рет қаралды 34,996

dbestech

dbestech

Күн бұрын

Пікірлер: 120
@bewhy6410
@bewhy6410 2 жыл бұрын
The simplest and best explanation on the Internet without exaggeration
@dbestech
@dbestech 2 жыл бұрын
Thanks for a nice comment.
@segunalabi4873
@segunalabi4873 Жыл бұрын
Your tutorials are the best I've found here on youtube. A big thank You and God bless
@TheAbhidugar
@TheAbhidugar 2 жыл бұрын
A couple of video requests here: 1. Graphql in flutter 2. Responsive layouts especially for tablets and mobile. 3. UI change when device is rotated like in youtube mobile app. Thank you for everything 😊
@dbestech
@dbestech 2 жыл бұрын
Ok. I will try
@mulualemmhretu
@mulualemmhretu 2 жыл бұрын
You are enthusiastic teacher. As usual all your tutorial is simple to understand ,clear steps and very helpful totorial with passions . I love your tutorial and way of teching !. You are so talented .Thank you.
@dbestech
@dbestech 2 жыл бұрын
Thank you very much!
@zidana.p4242
@zidana.p4242 Жыл бұрын
So I already following steps in here, but when I try to run it. It doesn't show anything and there's no error message. I try without firebase code on gradle since I think it causing that (because build.gradle in video and firebase website is different), and it still same no app and no error message Edit : I manage to run the app, the problem is when I press Google button it doesn't showing anything
@uctrinhvu1781
@uctrinhvu1781 2 жыл бұрын
I have a Login screen and when I successfully select the email on the popup. got this error handleWindowVisibility: no activity for token android.os.BinderProxy
@NoIntroTutorials
@NoIntroTutorials 2 жыл бұрын
Thank you bro, needed the part to create the firebase auth user account with google auth
@ashihsprajapati6739
@ashihsprajapati6739 2 жыл бұрын
Hello sir how can I validate that idtoken and accessToken on nodejs sever side if token is valid then it return some data.
@sumanrasaili6957
@sumanrasaili6957 2 жыл бұрын
as i logout .. and click it does not show me the pop up to relogin(login with another gmail) it simply logged in to homepage... i have to delete it in the system and then it pop up but for only single email..?? help me
@dbestech
@dbestech 2 жыл бұрын
Of course not for single email. But I will check it and see why like this
@WanderlustMichy
@WanderlustMichy 2 жыл бұрын
​@@dbestech Hi,. I'm also facing the same issue that Suman Rasaili is facing,... Please help,..
@Anythiny
@Anythiny 2 жыл бұрын
have u fixed the issue? i am not able to fix this need help
@WanderlustMichy
@WanderlustMichy 2 жыл бұрын
@@Anythiny Yeah I fixed the issue for me, now its working fine for me,..
@Anythiny
@Anythiny 2 жыл бұрын
@@WanderlustMichy how, i m not able to see pop up , after signing out
@RitikVerma-rv1tz
@RitikVerma-rv1tz 2 жыл бұрын
Not able to sign out user , after clicking on google sign in it automatically log in with the id , not giving any options
@heyroziq
@heyroziq 2 жыл бұрын
I want to publish my app in playstore, which my app only using google sign in method for login. And review always rejected because my app hasn't verified when requesting access to sensitive info google account. i already provide login credentials and access to google by login with google sign in feature. How to fix it?
@dbestech
@dbestech 2 жыл бұрын
the exact same code is used here www.dbestech.com/tutorials/flutter-pageview-builder-advanced-vertical-animation-height-scaling-and-transition
@JonathanMelgoza
@JonathanMelgoza 2 жыл бұрын
Hi, great explication! I have an error when i choose an account: throw PlatformException(code: errorCode, message: errorMessage as String?, details: errorDetails, stacktrace: errorStacktrace); Can you help me?
@dbestech
@dbestech 2 жыл бұрын
I think you are missing some of the settings.
@azizafif4843
@azizafif4843 2 жыл бұрын
Thank you. It is very helpful. Could you do another one for sign in with Facebook? and Thank you again
@dbestech
@dbestech 2 жыл бұрын
Yes I can. Coming soon
@rustyrishii
@rustyrishii 2 жыл бұрын
7:12 line number 28, the authentication shows this error. The getter 'authentication' isn't defined for the type 'GoogleSignInAuthentication'. (Documentation) Try importing the library that defines 'authentication', correcting the name to the name of an existing getter, or defining a getter or field named 'authentication'.
@dbestech
@dbestech 2 жыл бұрын
did you import the library?
@rustyrishii
@rustyrishii 2 жыл бұрын
@@dbestech yes i did, still it's shows the error
@dbestech
@dbestech 2 жыл бұрын
@@rustyrishii did you right await before it?
@rustyrishii
@rustyrishii 2 жыл бұрын
@@dbestech i solved the problem
@chikwakatebe5577
@chikwakatebe5577 2 жыл бұрын
@@rustyrishii how did you solve the problem?
@rustyrishii
@rustyrishii 2 жыл бұрын
hey, for me, it isnt asking to choose the account after i signout, It directly logs me back in with my previous account! what could be wrong?
@dbestech
@dbestech 2 жыл бұрын
Then you need to delcare final GoogleSignInAccount? googleUser = await GoogleSignIn( scopes: ["email"]).signIn(); globally and call googleUser.signOut() from the sign out method. see in the link description
@dbestech
@dbestech 2 жыл бұрын
www.dbestech.com/tutorials/flutter-google-sign-in-firebase-auth-login see the last part
@rustyrishii
@rustyrishii 2 жыл бұрын
@@dbestech Did you update that blog just now? I already got it solved. chatGPT ftw.
@frvnciscocid
@frvnciscocid 2 жыл бұрын
Thank you very much!, the only tutorial that worked for me
@dbestech
@dbestech 2 жыл бұрын
This kind of tutorial would be very very long.
@Raggii
@Raggii 2 жыл бұрын
Hello I followed through everything and it was very helpful although I was completing it on a web application! I got to the final step however and when I clicked to authenticate an error occurs mentioning that the client ID is not set. I was wondering if u had any insight into this. (ClientID not set Either set it on a tag, or pass clientId when initializing GoogleSignIn")
@dbestech
@dbestech 2 жыл бұрын
It was for app, not for website. that's why you get this error.
@TheAbhidugar
@TheAbhidugar 2 жыл бұрын
Awesome bro. It's crystal clear.
@dbestech
@dbestech 2 жыл бұрын
Thanks a lot. Thanks for the support all the time.
@ivantrejo8428
@ivantrejo8428 2 жыл бұрын
What about Flutter Fire? all the docs seem to pointing the user to FlutterFire CLI. Can you make a video with that method? or is there any significant difference?
@dbestech
@dbestech 2 жыл бұрын
I think both can work. I will make a tutorial about it.
@ivantrejo8428
@ivantrejo8428 2 жыл бұрын
@@dbestech awesome thanks 😊 looking forward to it. Subscribed!
@dbestech
@dbestech 2 жыл бұрын
@@ivantrejo8428 Most welcome.
@박대헌-k9w
@박대헌-k9w Жыл бұрын
Thank you for your video. When i logged in with my google account, the login page shows up again not the home page. There is an error that says Null check operator used on a null value
@dbestech
@dbestech Жыл бұрын
check your google data returned from firebase. it should be the credential variable.
@aarushimundra9296
@aarushimundra9296 2 жыл бұрын
Hi I did the exact steps but got an error that The following _CastError was thrown building HomeScreen(dirty, dependencies: [MediaQuery], state: _HomeScreenState#dc875): Null check operator used on a null value Any idea how to fix this?
@dbestech
@dbestech 2 жыл бұрын
Make sure all the packages and libraries are imported and then do flutter clean and try again. If it still does not work then delete app and try again
@skyorizen
@skyorizen 2 жыл бұрын
it works but when i press cancel, it freezes.
@AudioTamilan
@AudioTamilan Жыл бұрын
How to solve safetynet warning in flutter
@iamtafara
@iamtafara 2 жыл бұрын
Correct the title,, sign not sing. Great vid
@dbestech
@dbestech 2 жыл бұрын
Thanks. It's embarrassing though.
@anasmohammed3830
@anasmohammed3830 2 жыл бұрын
is it possible without SHA 1 certificate?
@dbestech
@dbestech 2 жыл бұрын
for ios you don't need it.
@anasmohammed3830
@anasmohammed3830 2 жыл бұрын
@@dbestech Sir i have an issue with generating sha 1 certificate it is always generating the same one.
@thepurpleaxe8024
@thepurpleaxe8024 2 жыл бұрын
A great tutorial to implement oauth. I have 1 issue, whenever i tap login it doesn't shows all google accounts I have on my device and logs into same account everytime. Anything I'm missing ?
@andretuninetti6101
@andretuninetti6101 2 жыл бұрын
add this line in the signout method -> await GoogleSignIn().disconnect();
@matthiasimegi8211
@matthiasimegi8211 2 жыл бұрын
@@andretuninetti6101 Thanks, It works flawlessly
@progressiveways917
@progressiveways917 2 жыл бұрын
Hi, i got the following error and after google login it doesn't go to the home page E/flutter (16206):
@dbestech
@dbestech 2 жыл бұрын
Hi there, you need to enable google from the dashboard as sign in method and you also need to use ur email address in the dashboard Let me know how it goes.
@progressiveways917
@progressiveways917 2 жыл бұрын
@@dbestech i had google enabled and used email address in firebase dashboard..but still getting E/flutter (29672):
@progressiveways917
@progressiveways917 2 жыл бұрын
@@dbestech 2 E/VpsExtension(15767): Failed to get binder for service "vendor.vpsservice" I/Timeline(15767): Timeline: Activity_launch_request time:103022287 W/ActivityThread(15767): handleWindowVisibility: no activity for token android.os.BinderProxy@6703746 I/Timeline(15767): Timeline: Activity_launch_request time:103022348 2 E/VpsExtension(15767): Failed to get binder for service "vendor.vpsservice"
@dbestech
@dbestech 2 жыл бұрын
@@progressiveways917 sorry about it. What’s the first line of the error?
@progressiveways917
@progressiveways917 2 жыл бұрын
@@dbestech Exception has occurred. PlatformException (PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null, null))
@hekun830930
@hekun830930 2 жыл бұрын
Thank you very much for the great demo! It helps a lot!😀
@dbestech
@dbestech 2 жыл бұрын
Glad it was helpful!
@doniamokhtar6603
@doniamokhtar6603 2 жыл бұрын
@@dbestech Hi. I followed the flutter firebase app tutorials parts 1 and 2. I am unable to follow this one (part 3) to implement the google sign up. Would you please help me? Which files correspond to the ones from the past tutorials. Thank you so much
@dbestech
@dbestech 2 жыл бұрын
@@doniamokhtar6603 what problem are you facing?
@mahamudulhasan727
@mahamudulhasan727 2 жыл бұрын
recommended, this one is best
@dbestech
@dbestech 2 жыл бұрын
thanks
@mastaatech9908
@mastaatech9908 2 жыл бұрын
Nice 👍
@dbestech
@dbestech 2 жыл бұрын
Thanks
@ashwing924
@ashwing924 2 жыл бұрын
I have no Error but handleAuthState() is not working. When loading stuck with MaterialApp page...
@dbestech
@dbestech 2 жыл бұрын
need detail error info
@ashwing924
@ashwing924 2 жыл бұрын
Sir Please Replay...
@dbestech
@dbestech 2 жыл бұрын
@@ashwing924 tell me the time line pls
@ashwing924
@ashwing924 2 жыл бұрын
@@dbestech 00:56 onwards
@ashwing924
@ashwing924 2 жыл бұрын
Sir Any Updates...?
@cejasclaudioa
@cejasclaudioa 2 жыл бұрын
I love you, great video. GRACIAS!!
@dbestech
@dbestech 2 жыл бұрын
Thank you too!
@kutumbarayadubandreddi546
@kutumbarayadubandreddi546 2 жыл бұрын
How to create admin app and user app in one project please do one video
@dbestech
@dbestech 2 жыл бұрын
You mean using app as admin panel too?
@kutumbarayadubandreddi546
@kutumbarayadubandreddi546 2 жыл бұрын
@@dbestech thank for replay I mean admin app data how to transfer in customer app in flutter
@garbageman4709
@garbageman4709 2 жыл бұрын
thank you so much!
@dbestech
@dbestech 2 жыл бұрын
Most welcome
@__mothership__8475
@__mothership__8475 2 жыл бұрын
I am getting this error, when i update info.plist. Error (Xcode): unable to open file (in target "google_sign_in" in project "Pods") /Users/vipulghate/Desktop/startup/ios/Pods/Target%20Support%20Files/google_sign_in/google_sign_in.debug.xcconfig:0:0 Could not build the application for the simulator. Error launching application on iPhone 12.
@dbestech
@dbestech 2 жыл бұрын
In the iOS folder try to do pod install -verbose
@__mothership__8475
@__mothership__8475 2 жыл бұрын
worked , thanks for immediate help
@RiyadAbdessalem
@RiyadAbdessalem 2 жыл бұрын
hey, thanks for the great tutorial , i did the same exactly and there is no problem or error when running the code but when i try to sign in and chooses the account it doesnt wanna navigate to the home page it stays in the login page , do u have any idea?
@createdbykoko
@createdbykoko 2 жыл бұрын
I have the same problem
@RiyadAbdessalem
@RiyadAbdessalem 2 жыл бұрын
@@createdbykoko i have passed this problem long ago i think u might need to generate ssh 1 and 256 keys and add it to firebase console
@maxxy-r3q
@maxxy-r3q 2 жыл бұрын
hello sir, i got error this is because when I return to the login page. and this is the error I get D/CompatibilityChangeReporter( 4971): Compat change id reported: 78294732; UID 10159; state: DISABLED how should i do?
@michaelalo3363
@michaelalo3363 2 жыл бұрын
Great tutorial. Can you please tell me how I can implement Google Sign Up similarly? Thank you.
@dbestech
@dbestech 2 жыл бұрын
This is google sign up. I am not following your question? what do you mean?
@dreamoove5835
@dreamoove5835 2 жыл бұрын
@@dbestech I think he means a register with google and send the datas in, for exemple, mongodb db
@chobrandone6370
@chobrandone6370 2 жыл бұрын
cool so great do for facebook and phone please
@dbestech
@dbestech 2 жыл бұрын
Yes, thanks. I will release one for facebook
@nourddinebakkar
@nourddinebakkar 2 жыл бұрын
I hope that you will make a video explaining how to log in with an email and password......thanks my brother
@dbestech
@dbestech 2 жыл бұрын
Pls follow this one kzbin.info/www/bejne/pZC9ln-npdanb5I. I already have one
@tommylee6670
@tommylee6670 Жыл бұрын
a bit too fast, but great for the tutorial
@syfigaming4281
@syfigaming4281 2 жыл бұрын
Implemnt ke bloc
@dbestech
@dbestech 2 жыл бұрын
I will try
@syfigaming4281
@syfigaming4281 2 жыл бұрын
@@dbestech oke thanks
@dbestech
@dbestech 2 жыл бұрын
@@syfigaming4281 you are welcome
@RitikVerma-rv1tz
@RitikVerma-rv1tz 2 жыл бұрын
hello, I was following your third video to apply google sign-in in this app only I created the method of signInWithGoogle() wrt to video: kzbin.info/www/bejne/npi1mGyIe9uBgLM However as we have used getx to manage states in the video(kzbin.info/www/bejne/jGPGYWeVf7yifqM) , so i kept it as it is , and didnt use stream builder as you have done in : kzbin.info/www/bejne/npi1mGyIe9uBgLM So everything is working fine but SignOut() feature i.e void logOut() async { await auth.signOut(); // await GoogleSignIn().signOut(); // await FirebaseAuth.instance.signOut(); print("signed out successfully"); } is not working in case of google sign in , after signing out the and then clicking again on google signin it automatically sign in with the previous ID, What to do???
@Hamza-ct2yp
@Hamza-ct2yp Жыл бұрын
Sir when i tries to login on android it shows me the following exception : PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 12500: , null, null) D/CompatibilityChangeReporter(12049): Compat change id reported: 147798919; UID 10160; state: ENABLED Any suggestions on how to solve it
@dbestech
@dbestech Жыл бұрын
Did you set up sha1?
@Hamza-ct2yp
@Hamza-ct2yp Жыл бұрын
@@dbestech yes sir i will
@ujjwalmahar
@ujjwalmahar Жыл бұрын
Flutter Firebase Auth - The Cleanest & Fastest Way - IOS & Android
9:58
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН
🔒📱 Google Sign In • Flutter Auth Tutorial ♡
9:49
Mitch Koko
Рет қаралды 159 М.
🔒 Google Sign In in Flutter with Firebase - Step-by-Step Guide (2024) 🔥
17:04
How do Firebase App Check tokens work?
5:48
Firebase
Рет қаралды 13 М.
Hackers Bypass Google Two-Factor Authentication (2FA) SMS
12:47
John Hammond
Рет қаралды 1,1 МЛН
Android emulator connect to localhost!
5:38
Programmers Lab
Рет қаралды 14 М.
What is happening with Flutter
3:41
typecraft
Рет қаралды 153 М.
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН