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
We already have an android app with a lot of users signed in with Google using the previous google auth,
We migrated to CredentialManager in the last release using version 1.2.2
The google sign in request that we make
val signInWithGoogleIdOption = GetSignInWithGoogleOption
.Builder(apiKey)
.build()
val request: GetCredentialRequest = GetCredentialRequest
.Builder()
.addCredentialOption(signInWithGoogleIdOption)
.build()
For one QA account we always get the email as BLANK inside the Id param of GoogleIdTokenCredential after moving away from legacy/deprecated GoogleSignIn (it worked fine with the previous Google Signin process) For other accounts that we have it's working fine!
val credentials = handleCredentials(result.credential)
credentials?.id?.takeIf { it.isEmpty().not() }?.let {
return credentials
} ?: throw Exception("Email address was not shared during Google Login!")
so the code always goes into the exception state.
What do you recommend here ? Also this behaviour from Google's is not acceptable since out app is already in release and there is no proper documentation as to why its not working for that user! . 🤕
PS: I had to send a force update to the user just because google wanted me to migrate to credential manager which itself is immature atm ? What do i do ?
The text was updated successfully, but these errors were encountered:
im also got this problem, code was working fine, until this month
String email = googleIdTokenCredential.getId(); according to documentation here, its should return email. not number
We already have an android app with a lot of users signed in with Google using the previous google auth,
We migrated to CredentialManager in the last release using version 1.2.2
The google sign in request that we make
For one QA account we always get the email as BLANK inside the Id param of GoogleIdTokenCredential after moving away from legacy/deprecated GoogleSignIn (it worked fine with the previous Google Signin process) For other accounts that we have it's working fine!
so the code always goes into the exception state.
What do you recommend here ? Also this behaviour from Google's is not acceptable since out app is already in release and there is no proper documentation as to why its not working for that user! . 🤕
PS: I had to send a force update to the user just because google wanted me to migrate to credential manager which itself is immature atm ? What do i do ?
The text was updated successfully, but these errors were encountered: