Firebase Social Media App - 04 Google Sign In

  Рет қаралды 20,464

Atif Pervaiz

Atif Pervaiz

Күн бұрын

In this Part(04):
Add Google Sign-In feature
Requirements:
Enable Google sign-in from Firebase Authentication
Add Project support email
Add SHA-1 Certificate
Add Google Sign-In library
Buy Me a Coffee:
paypal.me/atif...
Purchase Code:
www.technifyso...
Google Sign-In Documentation: firebase.googl...
Playlist: • Firebase Social Media ...
Feel free to comment in case of any problem
Chanel:
/ mohammadatif1
Websites:
technifysoft.com/
devofandroid.b...
Apps/Games on PlayStore:
play.google.co...
If u like this video, Like, Comment, Subscribe to support us...
#Android_Firebase #Social_Media_App #Atif_Pervaiz
android firebase app
android social app
android social media app
android social media app using firebase
android blog app
android blog app using firebase
android firebase user registration
android firebase login
android firebase sign in
android google sign in
android google login
android firebase google sign in
android firebase google login

Пікірлер: 54
@farhanazamchohan6924
@farhanazamchohan6924 5 жыл бұрын
It means, a user in your app doesn't need to sign up for the account instead it can google sign in for the account. Good work !
@AtifSayings
@AtifSayings 5 жыл бұрын
Yes 😊
@uzzalmondal4638
@uzzalmondal4638 5 жыл бұрын
vaia your tutorial is always lovely, I am waiting every times just for you..
@turtlelover1477
@turtlelover1477 5 жыл бұрын
This sure is helpful, but what if i want to log in with different Google account ? It won't let me and I stuck with the same account over and over
@TheFreerunner777
@TheFreerunner777 2 жыл бұрын
The first time that I sign in with Google, I get to choose which account I sign in with. But if I log out, I can't sign in with a different Google account, it automatically signs in the with the first one I sign in with. Is there a way to sign in with a different Google account?
@AtifSayings
@AtifSayings 2 жыл бұрын
I've not tried it yet, but you may check this link and let me know if it works: stackoverflow.com/questions/42338045/unable-to-select-different-account-on-google-login
@kenethadrianariasperez3715
@kenethadrianariasperez3715 3 жыл бұрын
When I log in with the google account it does it perfectly, but if it is done for the first time, the problem would be when I log in again with the same email, because the user returns and registers me, that means that it deletes all the configurations that I already had, such as the profile image and the name, so CANNOT SIGN IN AGAIN WITH THE GOOGLE BUTTON?
@nurmuhammadshahin4002
@nurmuhammadshahin4002 5 жыл бұрын
Jajakallahu khoyron....
@farhanazamchohan6924
@farhanazamchohan6924 5 жыл бұрын
I am waiting your tutorial on employee profile ( image, name, work, employee certificate image ) uploading on firebase database and retrieving when employee signs in.
@AtifSayings
@AtifSayings 5 жыл бұрын
you can use this video series for your purpose
@farhanazamchohan6924
@farhanazamchohan6924 5 жыл бұрын
@@AtifSayings That's why I am waiting for new tutorials on cross device messaging after user add through user request like facebook and please make these tutorials soon. My app will gonna look real after this.
@mertozkn98
@mertozkn98 3 жыл бұрын
Brother i did everything but i click button then i open my account loading then error 10: code what is this help me brother?
@AtifSayings
@AtifSayings 3 жыл бұрын
Add SHA1 to your firebase
@mertozkn98
@mertozkn98 3 жыл бұрын
@@AtifSayings i did brother release sha1 i add this .i can login now thanks brother.
@mertozkn98
@mertozkn98 3 жыл бұрын
@@AtifSayings brother can u add this project friend system add friend or follow,followers system like this i need this
@durgamadhabmaharana8436
@durgamadhabmaharana8436 5 жыл бұрын
Very very helpfull video
@gggddtt7290
@gggddtt7290 4 жыл бұрын
Thank you 👍👍👍👍
@flaviobarros8305
@flaviobarros8305 5 жыл бұрын
awesome tutorial
@mehwish3043
@mehwish3043 4 жыл бұрын
Sir....In this tutorial I have an error default_web_client_id
@oneke4498
@oneke4498 4 жыл бұрын
Men I've tried absolutely EVERYTHING and nothing works on writing in realtime database!
@AtifSayings
@AtifSayings 4 жыл бұрын
What happens? Have you tryied debugging?
@thesilentkiller3882
@thesilentkiller3882 4 жыл бұрын
requestIdToken can not be resolved
@NevrotikEx
@NevrotikEx 4 жыл бұрын
Please i want Username/password login method, you can help me?
@AtifSayings
@AtifSayings 4 жыл бұрын
Username password login can be done without furebase authentication feature Save username and password in firebase db
@NevrotikEx
@NevrotikEx 3 жыл бұрын
@@AtifSayings Thanks i fix normal login username, but i have problem when login with Google, no create username info in the profile. How i can fix that?
@Awm-R
@Awm-R 5 жыл бұрын
we need help on the 12500: error code
@barrinero
@barrinero 5 жыл бұрын
Tengo el mismo problema.
@uyenchitran2984
@uyenchitran2984 4 жыл бұрын
Me, too. Have same error. Please, help me !!!
@oneke4498
@oneke4498 4 жыл бұрын
mHaveAccountTv.setOnClickListener(v -> startActivity(new Intent(RegisterActivity.this, LoginActivity.class))); finish() } ITS WRONG!!!! DONT PUT THE "FINISH()" OR IT WILL NOT OPEN THE REGISTER WINDOW
@jessenjie6202
@jessenjie6202 2 жыл бұрын
my google icon is somehow missing
@jessenjie6202
@jessenjie6202 2 жыл бұрын
and the startActivityForResult is deprecated, google sign in code seems now all different :') 🤧🥲
@befit_kw7762
@befit_kw7762 4 жыл бұрын
Great job sir 👍. After this "Google authentication " can we make the user connected to Google fit Api at the same time? That means user sign in into firebase and Google fit Api once he clicked on "Google sign-in" without being asked again for another authentication in order to establish Google fit connection. I highly appreciate any help/support ... Thanks.
@AtifSayings
@AtifSayings 4 жыл бұрын
I didn’t used Google fit Api, so can’t say anything about it
@talhashan6355
@talhashan6355 5 жыл бұрын
error: 16 in the toast anyone else? Any one know the solution? TIA
@talhashan6355
@talhashan6355 5 жыл бұрын
Resolved : I goto project setting add support email ,regenerate the google json service file and replace it with previous one. Works for me
@AtifSayings
@AtifSayings 5 жыл бұрын
@@talhashan6355 good
@talhashan6355
@talhashan6355 5 жыл бұрын
Those who are getting error make sure you have add support email-> goto project setting add support email ,regenerate the google json service file and replace it with previous one. Works for me if still getting error follow this link stackoverflow.com/questions/52519853/error-16-problem-with-sign-in-google-firebase-account
@Nico_Aramy
@Nico_Aramy 5 жыл бұрын
i got 12500 error... how to solve it?
@AhmadNoman14
@AhmadNoman14 4 жыл бұрын
You can fix this problem by following steps below: Step-1: Open your project in the Firebase. Step-2: Open Authentication. Step-3: Select Sign-in method. Step-4: Click on the Google. Step-5: Put your email here in the Project support email and Save.
@gokulakrishna510
@gokulakrishna510 5 жыл бұрын
Bro for me 12500: error is showing up plz help me to resolve it
@joaocamiloulhoa4878
@joaocamiloulhoa4878 5 жыл бұрын
me too!!
@testabdellatif3046
@testabdellatif3046 5 жыл бұрын
did you solve this problem
@aroundtheclock95
@aroundtheclock95 5 жыл бұрын
me too
@tienatpham1414
@tienatpham1414 5 жыл бұрын
you just fix this line: GoogleSignInOptions gso = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN) .requestIdToken(LoginActivity.this.getResources().getString(R.string.default_web_client_id)) .requestEmail().build();
@israkhan8167
@israkhan8167 5 жыл бұрын
You have to make project on Google and upload your app information in the form .
@purnareddy7762
@purnareddy7762 5 жыл бұрын
Bro am getting 12500 error
@testabdellatif3046
@testabdellatif3046 5 жыл бұрын
​@Andres Tejada did you solve this problem
@AhmadNoman14
@AhmadNoman14 4 жыл бұрын
@Andres Tejada You can fix this problem by following steps below: Step-1: Open your project in the Firebase. Step-2: Open Authentication. Step-3: Select Sign-in method. Step-4: Click on the Google. Step-5: Put your email here in the Project support email and Save.
@Victoria-he1wm
@Victoria-he1wm Жыл бұрын
@@AhmadNoman14 your solution is not running
@tienatpham1414
@tienatpham1414 5 жыл бұрын
GoogleSignInOptions gso = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN) .requestIdToken(LoginActivity.this.getResources().getString(R.string.default_web_client_id)) .requestEmail().build(); update:27/8
@supportkisan4425
@supportkisan4425 5 жыл бұрын
Show error toast - 10:
@barrinero
@barrinero 5 жыл бұрын
El error 10 es por el SHA1, revisa la configuración de tu Firebase.
@barrinero
@barrinero 5 жыл бұрын
Error 12500: Help me
@AtifSayings
@AtifSayings 4 жыл бұрын
Try to read this thread: stackoverflow.com/questions/47632035/google-sign-in-error-12500
Firebase Social Media App - 05 Setup User Profile
25:42
Atif Pervaiz
Рет қаралды 43 М.
Firebase Social Media App - 26 Chat List
38:17
Atif Pervaiz
Рет қаралды 11 М.
СКОЛЬКО ПАЛЬЦЕВ ТУТ?
00:16
Masomka
Рет қаралды 3,1 МЛН
Симбу закрыли дома?! 🔒 #симба #симбочка #арти
00:41
Симбочка Пимпочка
Рет қаралды 3,1 МЛН
The Ultimate Sausage Prank! Watch Their Reactions 😂🌭 #Unexpected
00:17
La La Life Shorts
Рет қаралды 7 МЛН
DRM explained - How Netflix prevents you from downloading videos?
18:17
Mehul - Codedamn
Рет қаралды 220 М.
Difference between cookies, session and tokens
11:53
Valentin Despa
Рет қаралды 653 М.
React Native just dropped a MASSIVE update
15:06
Mehul - Codedamn
Рет қаралды 65 М.
Firebase Social Media App - 12 Show Messages
30:54
Atif Pervaiz
Рет қаралды 22 М.
What is Firebase and how to use it
41:01
Firebase
Рет қаралды 549 М.
Firebase Social Media App - 09 Search Users
11:27
Atif Pervaiz
Рет қаралды 24 М.
Firebase Social Media App - 24 Show Comments
22:19
Atif Pervaiz
Рет қаралды 7 М.
СКОЛЬКО ПАЛЬЦЕВ ТУТ?
00:16
Masomka
Рет қаралды 3,1 МЛН