How to Implement Google One Tap SignIn on Android
ฝัง
- เผยแพร่เมื่อ 8 ม.ค. 2023
- In this video we will be seeing how to integrate google one tap signin to your android application. We will walk you though step by step process on implementing it and also provide complete explanation with source code.
Google One-Tap signin make it easy for users to sign in to your android application. It is always better to use such easy methods to make every step easy for your users. So lets learn how to do this in the right, easy way.
Download Source Code: youtube.codeseasy.com/2023/go...
Google One-Tap Docs: developers.google.com/identit...
How to get SHA-1: developers.google.com/android...
########## For Doubts (ask it here) ################
Discord: / discord
Whatsapp group: whatsappgroup.codeseasy.com
############################################
########## For Business Queries ##########
Contact us for any business queries:
Email: mail@codeseasy.com
Phone number: +918281536333
WhatsApp: whatsapp.codeseasy.com
####################################
Find us on Social Media:
Website: www.codeseasy.com
Telegram: t.me/CodesEasyOfficial
Facebook: / codeseasy
Instagram: / codeseasy
Twitter: / codeseasyblog
Even reading the documentation I was making several small errors. Thanks for the detailed video!
Glad it helped!
Bro, your code also working on Kotlin. Really thanks, you saved my life
Happy to help
it was very helpful ;) great tutorial thanks brother 👍👍
Glad it helped
8:00 for some reason it takes a while until you can import classes; I guess you need to try and run the app before you try to import theses classes; maybe my PC is just too slow, I dont know
You have to synchronise the project after adding dependency. Also if your system is slow the recommendations might take too much time
Amazing! Thank U!
Welcome!
👍👍😍😍
Happy that you liked the video
Thank you so much! Unfortunately, Google One Tap SignIn is soon to be depreciated. However I thought implementing the new credential manager was too difficult, so I opted for this one instead. At least until there are more tutorials for credential manager.
We will soon publish one. 👍
@@CodesEasy Yes sir, please upload a video on credential manager with java because they have already removed the doc for create account with one tap but they haven't uploaded doc to use credential manager with java, I tried to implement it by converting kotlin codes to java with the help of chatGPT but it is causing many errors. Don't know what to do now😭. I really need a video on that. PLEASE🙏
Hi sir. I have wordpress website.i use nextend plugin for social login. I converted to app by using android studio. Everything works fine except social login. Can you create a video on this. It will be helpful. How to create social login and link to wordpress or is there any plugin. Thanks pls reply.
Thanks for your video. This save my day. Can you tell me why you use client Id from Web client instead of Android Client?
You would use this client ID when calling Google APIs from your server
Read this
developers.google.com/identity/one-tap/android/get-started#api-console
Thank you.
Glad you liked it
great tutorial
Thanks!
Glad it was helpful!
Thank youuuuu very good
Happy that the video helped you
How can we get rid of the second dialog that comes after the email selection
Signin In With Google
By Continuing , google will share your name , email address and profile picture with
Accept
how do we make sure this dialog doesnt come as we are not using user email or name or picture
so how do we get rid of this dialog ?
Hi Thanks for the wonderful video. Can you please make a video on Firebase authentication using Google one tap sign in
Sure
I'm developing an app with a WebView embedded in it. After the user is signed in to their Google account within my app, is it possible to use their credentials to sign in automatically to their account in the WebView?
You won't be having a password. If you are getting a password also from the user you can do it.
How to Implement this using jetpack compose please let me know if you have any reference without using view models as simple as possible
This is the better and recommended way by google. Check Google docs.
13:24 where did this method come from?? My Android Studio says I have to write my own handler, but I have no idea how.
Update your android studio and sdk's, you simply have to follow the video as it is
After signing it's not saving user info in firebase auth
And also how to delete user Google signin data and after signin where user data stores
Check this docs developers.google.com/identity/one-tap/android/overview
Hi! I did all code. The app made in Android Studio works ok. But after publish that version can not sign up. After click the button nothing happens. The options acoount to select do not appers in screen. It s not possivible debug it. Did you ( or someone here) know what is going on?
It will be done to change in signature, sha1 etc. check what's causing the issue
Check the exception and also check the google dashboard etc
how to check at the opening of the app that the user is already signeed in or not!!
Check this developers.google.com/identity/sign-in/android/sign-in#check_for_an_existing_signed-in_user
Hi I´m wondering if there´s a way to ask the users to submit their password when they sign in. I´m trying to avoid one tap for security reasons.
There are other videos in the channel which does it like that way. Check login and registration using firebase video in the channel
after Login How to get user profile picture to ImageView and Name into TextView ?
Check the docs
Great detailed video but why does it not work on the android emulator
Lack of a few google apps
@@CodesEasy Would using this store the google sign in credentials to a firebase realtime database
why you chose web when you generated credentials shouldn't we choose android as we working on android
that is for the server api credentials that we need to use on the android part
Unfortunately does not work for me. The request returns with no success or failure, so nothing happens
Check the code and correct it
@@CodesEasy issue was - me trying to use Android token, but need to use the web one
What if I don't have a domain
You can use local host for testing purpose
have you resolved the issue? i also don't have a domain
kotlin time now..no one behind
Sure, we will start making kotlin videos too.
After publishing the app One tap sign in is not working.
Most probably signature change
Which signature?
I have the same problem. Did you already solve that?
always telling half information,
unsubscribe this channel
Please let us know what you want to know or what we missed in the video. This will definitely help us improve and also help you right now 😀
startIntentSenderForResult(
result.getPendingIntent().getIntentSender(),
REQ_ONE_TAP,
null,
0,
0,
0);
gives me this error:
error: method startIntentSenderForResult in class Fragment cannot be applied to given types;
startIntentSenderForResult(
^
required: IntentSender,int,Intent,int,int,int,Bundle
found: IntentSender,int,,int,int,int
reason: actual and formal argument lists differ in length
it means that the third argument cannot be null. How to fix it?
Don't use start intent for result. Watch the video complete. It will be changed to new method
Even reading the documentation I was making several small errors. Thanks for the detailed video!
Glad it helped!