You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since GoogleSignInAccount was deprecated. I try to find a way to get unique ID but there is no api related to getting the user's ID from GoogleIdTokenCredential nor AuthorizationResult except AuthorizationResult.toGoogleSignInAccount
Is it intentional to discourage requesting user's ID or are there other way to get/generate unique ID that I couldn't found from CredentialManager or Identity.getAuthorizationClient ?
EDIT: I have notice that actually getId will return email. But this is confusing and it then can't let me get the unique id instead
The text was updated successfully, but these errors were encountered:
Thaina
changed the title
How we could get email from CredentialManager?
How we could get unique ID from CredentialManager?
Jun 9, 2024
Since GoogleSignInAccount was deprecated. I try to find a way to get unique ID but there is no api related to getting the user's ID from
GoogleIdTokenCredential
norAuthorizationResult
exceptAuthorizationResult.toGoogleSignInAccount
Is it intentional to discourage requesting user's ID or are there other way to get/generate unique ID that I couldn't found from
CredentialManager
orIdentity.getAuthorizationClient
?EDIT: I have notice that actually
getId
will return email. But this is confusing and it then can't let me get the unique id insteadThe text was updated successfully, but these errors were encountered: