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)
Step 2: Describe your environment
Step 3: Describe the problem:
Steps to reproduce:
Observed Results:
Desired Results:
Relevant Code: