android / android/identity-samples

PreferUiBrandingComponentName usage?

Open
#106 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
515
Forks
283
Avg merge
9h 37m
Merged PRs (30d)
2

Description

Referring https://developer.android.com/reference/androidx/credentials/GetCredentialRequest#getPreferUiBrandingComponentName()

Is it possible to use this "Sign in with google", to show different logo and label instead of app's icon and label? In the above link it mentions to use service component name, does this mean service component just for branding changes?

There are no samples explaining its use.

Contributor guide

Open the contributing guide

Research direction

Start with the linked GetCredentialRequest#getPreferUiBrandingComponentName() reference and inspect the existing identity-samples structure for the appropriate sample entry point. Add a focused sample showing how a service component affects the displayed “Sign in with Google” branding, and document the expected logo and label behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
authentication, mobile
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.