Firebase Google Sign In | Android Studio | Java

  Рет қаралды 15,767

Atif Pervaiz

Atif Pervaiz

Күн бұрын

How to implement Firebase Google Sign-In using Android Studio?
We will cover the following:
1) Firebase Google Sign-In
2) Handle New & Existing User
3) Show SignedIn User - Profile
4) User Login state
Buy Me a Coffee: paypal.me/atifsayings
Things to keep in mind:
1) Enable Google Sign option in Firebase Auth
2) Add SHA1 in the firebase project
3) Make sure to place google-services.json
Watch for Kotlin: • Firebase Google Sign I...
Chapters:
0:00 Overview, Create, Setup Project
0:57 Connect with Firebase
6:57 UI Design
8:53 Google Sign-In
20:20 Profile Activity
26:33 Testing
Feel free to comment in case of any problem
Chanel:
/ mohammadatif1
Websites:
technifysoft.com/
devofandroid.blogspot.com
Apps/Games on PlayStore:
play.google.com/store/apps/de...
If u like this video, Like, Comment, Subscribe to support us...
#FirebaseGoogleSignIn #AndroidStudio #AtifPervaiz
android
android studio
android firebase
android firebase authentication
android firebase auth
android firebase google authentication
android firebase google sign in
android firebase google login
android firebase google auth

Пікірлер: 64
@jayvander5770
@jayvander5770 2 жыл бұрын
Thanks mate, works like a charm. Keep up the good work
@baltabur6796
@baltabur6796 Жыл бұрын
teşekkürler. Kaç tane video izledim dokuman okudum olmadı. anlatımınız çok yardımcı oldu.
@AtifSayings
@AtifSayings Жыл бұрын
English
@gelinkpen93
@gelinkpen93 2 жыл бұрын
Thank you so much!
@mr.x2205
@mr.x2205 3 жыл бұрын
Thanks, It worked
@joao.gonzalez
@joao.gonzalez Жыл бұрын
Thank you so much
@AtifSayings
@AtifSayings Жыл бұрын
You're welcome
@halacost
@halacost 3 жыл бұрын
thanks bro
@hgpwns
@hgpwns 3 жыл бұрын
hi startActivityForResult is deprecated, what is the alternative?
@MAL_1031
@MAL_1031 3 жыл бұрын
ill be waiting for the facebook login video
@AtifSayings
@AtifSayings 3 жыл бұрын
Ok
@arjundutta97
@arjundutta97 2 жыл бұрын
I am not able to find ActvityProfileBinding class can you help me with that??
@vijendrasharma1020
@vijendrasharma1020 3 жыл бұрын
Actually sir... I want to update the image part on my firebase realtime database
@TheCleptomano
@TheCleptomano 2 жыл бұрын
tengo un problema con "startActivityForResult" me aparece TACHADO. Y firebaseAuthWithGoogleAccount, account, y s1 no me aparecen, está en red.
@thanhlongnguyen6142
@thanhlongnguyen6142 3 жыл бұрын
Can I ask for my google login button with firebase, but if I clicked on nothing, there was an error, I hope to help.
@vijendrasharma1020
@vijendrasharma1020 3 жыл бұрын
The process is like... At first I insert data with multiple images and images are stored in particular child like URL and inside it 0---image link 0, 1--imagelink1, etc. So if I add more image it works well... But if I want to delete an image on this particular child like remove child . Suppose I store 4 image with name 0,1,2,3 and want to delete the image 2 and database store 0,1,3 are present. So how to change the sequence 0,1,3 to 0,1,2. Please help sir actually I was stucked in this problem around a week.
@AtifSayings
@AtifSayings 3 жыл бұрын
Values against keys can be updated name of key can't be changed
@vijendrasharma1020
@vijendrasharma1020 3 жыл бұрын
@@AtifSayings then sir, how to do the solution of it?
@vijendrasharma1020
@vijendrasharma1020 3 жыл бұрын
Sir I had done one solution like when user want to delete the image first we have to remove all child in database first then after store all image... It works well for which image are capturing and comes in arraylist but those images who already are in arraylist don't store and error shows while uploading images because it's actual file is not present and only link are present. . So this solution is not work for me.... Please give me better suggestion or solution to overcome this problem
@WaqarAhmed-nx3ug
@WaqarAhmed-nx3ug 3 жыл бұрын
Hello bro me signingRoot pe click karta hon sha 1 key kuch bi nahi a raha koi glitch hua mere android studio me ya thik karna ka koi tarika hai
@AtifSayings
@AtifSayings 3 жыл бұрын
Never faced such issue. Kindly google ot
@mounershami
@mounershami 3 жыл бұрын
sir, I have an Error: that when I run the app and see the Logcat it shows to me: onClick: begin Google SignIn onActivityResult: Google Signin intent result onActivityResult: 10: firebaseAuthWithGoogleAccount: begin firebase auth with google account and then the app stop please help me sir
@AtifSayings
@AtifSayings 3 жыл бұрын
make sure to add your SHA1 to connected firebase project
@050nandhini.piiiita4
@050nandhini.piiiita4 2 жыл бұрын
The same error i got what to do bro
@eagle5759
@eagle5759 3 жыл бұрын
startActivityForResult is deprecated and its creating issue for us what we can do to reslove that
@szymonmon2759
@szymonmon2759 2 жыл бұрын
Exactly did u find any solution?
@vijendrasharma1020
@vijendrasharma1020 3 жыл бұрын
Please help me sir... I want to be like you in android field
@Rafael-hk9pg
@Rafael-hk9pg 2 жыл бұрын
How do you acomplish this with a fragment?
@AtifSayings
@AtifSayings 2 жыл бұрын
is there any issue doing in fragment?
@150Records
@150Records 3 жыл бұрын
private ActivityMainBinding binding; ActivityMainBinding (red) pls
@AtifSayings
@AtifSayings 3 жыл бұрын
Have you enabled in build.gradle? Also check it must match with your respective layout xml
@vijendrasharma1020
@vijendrasharma1020 3 жыл бұрын
Please don't ignore my comment... I want to say something
@piolotorotoro
@piolotorotoro 2 жыл бұрын
is this keeping me logged in in the application every time i open it?
@AtifSayings
@AtifSayings 2 жыл бұрын
its up to you, you may check get current user from firebase instance and check if its not null means user is logged in already
@nipanipa3326
@nipanipa3326 3 жыл бұрын
Sir how to send PDF file in social media app plz sir make video on it
@nipanipa3326
@nipanipa3326 3 жыл бұрын
Sir how to send PDF file in social media app make video plz
@user-yl2ms7hl4r
@user-yl2ms7hl4r 3 жыл бұрын
startActivityForResult is dpreesed.What class can I use instead?
@szymonmon2759
@szymonmon2759 2 жыл бұрын
somebody wrote to you about this?
@frozen_dusk579
@frozen_dusk579 2 жыл бұрын
Thanks I was stuck with the SHA-1 fingerprint, because the android studio firebase tutorial is garbage.
@AtifSayings
@AtifSayings 2 жыл бұрын
You're welcome
@UGuyU_
@UGuyU_ 3 жыл бұрын
startActivityForResult is deprecated
3 жыл бұрын
Please help me. How to fix this problem?
@KevinSenjaya
@KevinSenjaya 3 жыл бұрын
how to fix this problem?
@UGuyU_
@UGuyU_ 3 жыл бұрын
@@KevinSenjaya for google signin you still need to use onActivityForResult , Yes it's strange they ..deprecated it ,without alternative soultion.
@vijendrasharma1020
@vijendrasharma1020 3 жыл бұрын
Hello sir
@testtfa4091
@testtfa4091 3 жыл бұрын
How to do I make it possible to log out and choose another account?
@AtifSayings
@AtifSayings 3 жыл бұрын
There is a logout button in profile screen
@dimust8940
@dimust8940 2 жыл бұрын
@@AtifSayings how to make it possible to log out and then choose another account, not sign in with the same account
@ilyas6313
@ilyas6313 Жыл бұрын
@@dimust8940 I have the same question do you know the answer now ?
@user-br9dl9cy2e
@user-br9dl9cy2e 2 жыл бұрын
ApiExtention ?????
@dyari009
@dyari009 3 жыл бұрын
Thanks bro , how can i get paryer tim with notification ? Please help me ....
@testtfa4091
@testtfa4091 3 жыл бұрын
How to fix ? "onActivityResult 12500"
@AtifSayings
@AtifSayings 3 жыл бұрын
Make sure to Your app is connected with firebase correctly Enable google signin in firebase auth Add SHA1 Test in Real Device
@testtfa4091
@testtfa4091 3 жыл бұрын
@@AtifSayings Thank you
@israelhaitzhacky9878
@israelhaitzhacky9878 2 жыл бұрын
its do for me error 12500 please some help man
@AtifSayings
@AtifSayings 2 жыл бұрын
this might solve your issue, lemme know stackoverflow.com/questions/47632035/google-sign-in-error-12500
@050nandhini.piiiita4
@050nandhini.piiiita4 2 жыл бұрын
Its not going to google page bro
@b2hindichannel780
@b2hindichannel780 3 жыл бұрын
Sar personal message kar sakte hain
@AtifSayings
@AtifSayings 3 жыл бұрын
Zaruri h to kr lo
Firebase Authentication Login SignUp | Android Studio | Java
42:46
Дибала против вратаря Легенды
00:33
Mr. Oleynik
Рет қаралды 5 МЛН
100❤️
00:19
MY💝No War🤝
Рет қаралды 17 МЛН
Did you believe it was real? #tiktok
00:25
Анастасия Тарасова
Рет қаралды 53 МЛН
How to Implement Google One Tap SignIn on Android
21:08
Codes Easy
Рет қаралды 25 М.
LARAVEL SOCIALITE - LOGIN WITH SOCIAL ACCOUNT - GOOGLE SOCIAL LOGIN
22:52
FRAGMENTS - Android Fundamentals
17:29
Philipp Lackner
Рет қаралды 325 М.
Book App Firebase | 03 Add Book Category | Android Studio | Java
23:22
How to Integrate Google Sign In in Android | 2024
15:06
Easy Tuto
Рет қаралды 104 М.
Top 25 Microservice Interview Questions Answered - Java Brains
39:54
Дибала против вратаря Легенды
00:33
Mr. Oleynik
Рет қаралды 5 МЛН