How to Integrate Google Sign-In to Android app || Android Studio Tutorial 2020

  Рет қаралды 38,485

The Tech Brothers

The Tech Brothers

3 жыл бұрын

In this video tutorial i will show you how we can integrate the google sign-in in android app in android studio.
Documentation : developers.google.com/identit...
My Card App Flutter :
User Circular Avatar Part 1 : • My Card App || Flutter...
Use fonts in flutter Part 2 : • My Card App || Flutter...
Final Part 3 : • My Card App || Flutter...
Hire me on Fiverr : www.fiverr.com/rnsolution
Covid-19 Tracker App using Rest API's : • Create Coronavirus (CO...
Firebase Blog App : • Firebase Blog App - Ho...
C++ Tutorials : • C++ Programming Tutori... .
_____________/Connect On Social Media\____________
► Instagram:➜ / axif_taj
► Facebook:➜ / aaxiftaj
► Twitter:➜ / axiftaj
► GitHub:➜ github.com/axiftaj
=========================================
how to integrate the google sing in to android app, android studio tutorial 2020, android studio, android studio tutorial.
For business queries : axiftaj@gmail.com
Thank you for watching my channel do give feedback about this video.
#android #androidstudio #google #googlesignin #signin

Пікірлер: 95
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Join my fb group where i asked for your suggestion and post daily updates. Link: facebook.com/groups/983554978866765
@victor45436
@victor45436 3 жыл бұрын
thanks so much bro, I tried many many many time with others tutorials but none could help me your video helped so much
@thetechbrotherss
@thetechbrotherss 3 жыл бұрын
Glad I could help
@pakplussoftwaresolutions4090
@pakplussoftwaresolutions4090 2 жыл бұрын
Very nice and simple video. Keep it up
@areychalekya
@areychalekya 3 жыл бұрын
Thanks man for the tutorial . it helped me to achieve the integration :)
@thetechbrotherss
@thetechbrotherss 3 жыл бұрын
Do subscribe for latest videos, keep sharing keep loving.
@areychalekya
@areychalekya 3 жыл бұрын
@@thetechbrotherss can you teach me how to release the product in google playstore
@atharvadawande1248
@atharvadawande1248 3 жыл бұрын
Thanks, man worked for me
@thetechbrotherss
@thetechbrotherss 3 жыл бұрын
Don't forget to subscribe and share.
@ummahunity2412
@ummahunity2412 2 жыл бұрын
Thank you so much Really helpful video ✨🥰
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Glad you liked it, do subscribe and share it with your friends.
@RahulDebBhandari
@RahulDebBhandari 3 жыл бұрын
Thank You Very Much..
@thetechbrotherss
@thetechbrotherss 3 жыл бұрын
You're most welcome
@jigarpanchal8380
@jigarpanchal8380 3 жыл бұрын
Wow nice bro
@thetechbrotherss
@thetechbrotherss 3 жыл бұрын
Thank you so much 😀 Keep sharing keep loving and don't forgot to subscribe
@mubasharali4502
@mubasharali4502 3 жыл бұрын
oasum greate!
@thetechbrotherss
@thetechbrotherss 3 жыл бұрын
thanks
@victorv8894
@victorv8894 3 жыл бұрын
when we restart the app we are redirected to login page . how to get to the main page if we have logged in previously?
@thetechbrotherss
@thetechbrotherss 3 жыл бұрын
Sign in with with google gives you a sig in token store it in shared preference and on splash screen check if token is not empty then direct the user to home page else take it to login screen.
@aLife1111
@aLife1111 2 жыл бұрын
Thanku so much Sir
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Glad it helped, do share within your friend circle.
@raguexe2490
@raguexe2490 2 жыл бұрын
thank you
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Thank you
@EPICTechnicalTricks
@EPICTechnicalTricks 3 жыл бұрын
How I can find the list of accounts which are logged in with my app ?? Please reply
@thetechbrotherss
@thetechbrotherss 3 жыл бұрын
At one time only one account can login using this, you've to store the user token into shared preference and then check if token is not null it means user is login and token is not null it means user is login take to main screen. During logout time set the token to null and make user logout the screen.
@Robin-np3hv
@Robin-np3hv 3 жыл бұрын
Is there a way to redirect to a web page after google sign in? I am pretty new to java. any help would be greatly appreciated!
@thetechbrotherss
@thetechbrotherss 3 жыл бұрын
Yes where you got google sign in success the use intent class to launch the web view.
@Robin-np3hv
@Robin-np3hv 3 жыл бұрын
@@thetechbrotherss thank you Asif!
@jagrutisandbhor7
@jagrutisandbhor7 2 жыл бұрын
Sign up page app work in old computer and not work another computer.. how to solve problem
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Check you must be missing something
@SakshiSingh-ik4gu
@SakshiSingh-ik4gu 2 жыл бұрын
Thank you so much !!! Really helpful video ✨
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Glad it was helpful!, do subscribe and share with your friends.
@techtales9509
@techtales9509 3 жыл бұрын
Super video brother. I will implement this in my app. Bhai ek saval h, kya ye poora copy paste kardu ya ek ek line poora samju? Kya developers ye poora code bina copy paste kare likhte h? Plz answer bhai❤️
@thetechbrotherss
@thetechbrotherss 3 жыл бұрын
You need to understand the concepts of programming and to utilise them according to your requirements is the real talent. No one remember the code, all of the code is there on google but you have to use your concept to solve the real world problem using your concepts and problem solving skill, is what matter.
@heavenlife5619
@heavenlife5619 3 жыл бұрын
@@thetechbrotherss Mai developer hu 5 saal se real world problem koi nhi hoti. sab faltu ke kaam hote hai. Real world problem matlab ?
@abhishekbansal1207
@abhishekbansal1207 3 жыл бұрын
Thanks bro
@thetechbrotherss
@thetechbrotherss 3 жыл бұрын
Welcome
@maxpoweroverdrive
@maxpoweroverdrive Жыл бұрын
For some reason, when I'm trying to sign it, it is not signing in. It is going to the apiException part of try catch block
@thetechbrotherss
@thetechbrotherss Жыл бұрын
Please share exception
@maxpoweroverdrive
@maxpoweroverdrive Жыл бұрын
@@thetechbrotherss Exception code is 10
@abirhal2391
@abirhal2391 2 жыл бұрын
when click sign i get : there was a problem communcating with google server
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Please follow latest documentation.
@pradeepkumarreddykondreddy7048
@pradeepkumarreddykondreddy7048 2 жыл бұрын
How to show permissions allow/deny screen on google sign-in ?
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
there will be error or result right now i'm not sure please check it in debug or print the logs.
@Mr.PandeyRishav
@Mr.PandeyRishav 3 жыл бұрын
Sir, I am not getting any Signing Report under gradle(or app). When I am clicking gradle, I can see a folder named app and when I am clicking app, there is only one folder named dependencies under it. Where is android & signing report?
@thetechbrotherss
@thetechbrotherss 3 жыл бұрын
follow this it will solve you problem : stackoverflow.com/questions/27609442/how-to-get-the-sha-1-fingerprint-certificate-in-android-studio-for-debug-mode
@Mr.PandeyRishav
@Mr.PandeyRishav 3 жыл бұрын
@@thetechbrotherss I already solved that... but thank you for your reply... 😊
@nitinkrsingh409
@nitinkrsingh409 2 жыл бұрын
bhai kaise kya ?/
@Mr.PandeyRishav
@Mr.PandeyRishav 2 жыл бұрын
@@nitinkrsingh409 bhai iska ek alag procedure bhi Tha... Mujhe yaad nai aa raha Hai Lakin... Maine you tube hi se kahi dekha tha
@nitinkrsingh409
@nitinkrsingh409 2 жыл бұрын
@@Mr.PandeyRishav oo thanks bhai
@subhodeepsarkar2940
@subhodeepsarkar2940 2 жыл бұрын
startActivityResult got deprecated how should we do this now?
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Please check google latest documentation, rest of the process remains same.
@kaushalpatel2496
@kaushalpatel2496 3 жыл бұрын
i got a problem with onactivityresult this is not exist .what do you next??sir
@thetechbrotherss
@thetechbrotherss 3 жыл бұрын
please follow their latest documentation hope you'll find a solution.
@colorfulParentingJourney
@colorfulParentingJourney 3 жыл бұрын
9:46, there you made a mistake. Second activity hamesha start hi hogi kyunki if wale block mai nahi hai wo.
@thetechbrotherss
@thetechbrotherss 3 жыл бұрын
Yes you are right. activity need to be started in if block. Thank you for correcting.
@swethaaresetty3105
@swethaaresetty3105 3 жыл бұрын
Hello , the user email is showing in toast but when i pass it to another activity it showing null . If anyone knows the solution for it please help me.
@thetechbrotherss
@thetechbrotherss 3 жыл бұрын
You can used intent class to pass the data from one activity to another, if its showing in the toast and not in next screen please check your code, you are doing something wrong.
@kaushalpatel2496
@kaushalpatel2496 3 жыл бұрын
@Override public void onActivityResult(int requestCode, int resultCode, Intent data) { super.onActivityResult(requestCode, resultCode, data); // Result returned from launching the Intent from GoogleSignInClient.getSignInIntent(...); if (requestCode == RC_SIGN_IN) { // The Task returned from this call is always completed, no need to attach // a listener. Task task = GoogleSignIn.getSignedInAccountFromIntent(data); handleSignInResult(task); } } ye onactivity me problem aa raha hai sir
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Please follow the latest documentation.
@____p__122
@____p__122 3 жыл бұрын
After login how to get refresh token & access token please help
@thetechbrotherss
@thetechbrotherss 3 жыл бұрын
follow this documentation you'll get the desired results : developers.google.com/identity/sign-in/android/backend-auth
@abhishekbarkade5955
@abhishekbarkade5955 3 жыл бұрын
i am getting error white creating API,says package name and SHA1 fingerprint is already using
@thetechbrotherss
@thetechbrotherss 3 жыл бұрын
create new sha key and add it to api console
@abhishekbarkade5955
@abhishekbarkade5955 3 жыл бұрын
@@thetechbrotherss how to create a new one sha ke
@alejandro_tejedo
@alejandro_tejedo 3 жыл бұрын
A video doing it on fragments?
@thetechbrotherss
@thetechbrotherss 3 жыл бұрын
Whole process is same for fragments as well but in fragment you need to pass context or getContext, hope this make sense.
@abirhal2391
@abirhal2391 2 жыл бұрын
not show to me ' apllication type"
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Please watch again carefully or follow latest documentation.
@arenahax6655
@arenahax6655 2 жыл бұрын
make tutorials on mongodb realm with android
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
ok
@ritikbawanthade9603
@ritikbawanthade9603 3 ай бұрын
pls make video in webview app with google login
@thetechbrotherss
@thetechbrotherss 3 ай бұрын
Ok
@WaqasKhan-yj4jz
@WaqasKhan-yj4jz 2 жыл бұрын
hello sir, we are waiting for google signin with flutter firebase
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
It super easy, used this code to get user sign in with google now that you have user token then use google firebase sign in method with token and boom its done.
@deeplearns8651
@deeplearns8651 6 ай бұрын
After doing Google sign in ? It will show in database or not??
@thetechbrotherss
@thetechbrotherss 6 ай бұрын
nop
@deeplearns8651
@deeplearns8651 6 ай бұрын
@@thetechbrotherss how we can do it
@theaayushadhana
@theaayushadhana 2 жыл бұрын
bro mera page next activity pe nhi ja rha h sign in hone ke baad
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Ap check kr lain ap sign in ho rahy ha k ni. agr ho rahy to phr ap next screen par intent wala code sahi jaga par likh rahy ha ya ni yeah check kr lain.
@erinwolf1563
@erinwolf1563 3 жыл бұрын
Bro thanks a lot for your video, but if ur video is not in English put (Hindi), etc in the title, or else it will get a dislike
@thetechbrotherss
@thetechbrotherss 3 жыл бұрын
I will try my best
@tejaskumar2614
@tejaskumar2614 3 жыл бұрын
Startactivityforresult is deprecated wt to do??
@thetechbrotherss
@thetechbrotherss 3 жыл бұрын
Yes in android 11, it got deprecated. Please follow the latest documentation.
@tejaskumar2614
@tejaskumar2614 3 жыл бұрын
@@thetechbrotherss I just suppressed the class it worked.. thanks... 😂😂
@thetechbrotherss
@thetechbrotherss 3 жыл бұрын
lol
@ImARBOY
@ImARBOY 2 жыл бұрын
Plz source code🙏🙏🙏
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
I have deleted the source code. Sorry
@ursmart4418
@ursmart4418 3 жыл бұрын
How did u learnt this bro could u suggest me smthg
@thetechbrotherss
@thetechbrotherss 3 жыл бұрын
Practice make man perfect. Please understand the concepts and how things work out in app development. But most importantly the concepts you learn then how efficiently you can utilize those concepts to solve your problem. Rest code is all there on the google but your concepts will help you to make big products.
Sign in with Google on Expo React Native
29:49
Supabase
Рет қаралды 32 М.
Mom's Unique Approach to Teaching Kids Hygiene #shorts
00:16
Fabiosa Stories
Рет қаралды 38 МЛН
Опасность фирменной зарядки Apple
00:57
SuperCrastan
Рет қаралды 12 МЛН
Best Toilet Gadgets and #Hacks you must try!!💩💩
00:49
Poly Holy Yow
Рет қаралды 22 МЛН
How To Create An Android App Backend With Node JS
32:27
heyletscode
Рет қаралды 125 М.
How to Integrate Facebook Login in Android | 2024
15:31
Easy Tuto
Рет қаралды 53 М.
Sign in with Google Auth + Firebase | Android Studio Tutorial
17:40
Firebase Google Sign In | Android Studio | Kotlin
31:05
Atif Pervaiz
Рет қаралды 12 М.
50 Google Assistant Commands that Take it to Next Level!
14:58
How to Implement Google One Tap SignIn on Android
21:08
Codes Easy
Рет қаралды 26 М.
Login And SignUp In Android With MySQL
57:21
Codes Easy
Рет қаралды 402 М.
Firebase google authentication sign in using android - 2020
24:10
Coding With T
Рет қаралды 100 М.
Какой ноутбук взять для учёбы? #msi #rtx4090 #laptop #юмор #игровой #apple #shorts
0:18
تجربة أغرب توصيلة شحن ضد القطع تماما
0:56
صدام العزي
Рет қаралды 64 МЛН