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
{{ message }}
This repository was archived by the owner on Jul 2, 2025. It is now read-only.
Implement google sign in using CredentialManager and GetSignInWithGoogleOption.
Build the app and press the google sign up button to proceed with the signup process.
In the google account integration popup, you will see that “name, email address, profile picture” are accessible in the user's account.
Observed Results:
In the google account integration popup, you will see that “name, email address, profile picture” are accessible in the user's account.
Desired Results:
I only need the user's email address. I want the popup to show the user that it only uses the email address.
As I understand it, name, email address, profile picture are the default public information in google account. However, I will only use the user's email address in my app via google sign-up, and I want the popup to show only the email address.
Is this possible?
Relevant Code:
val credentialManager = CredentialManager.create(context)
val request = GetCredentialRequest(
listOf(
GetSignInWithGoogleOption.Builder($google_client_id)
.build()
)
)
val result = credentialManager.getCredential(context, request)