Skip to content

Feature Requested: Allow Custom Tab to show webpage title #358

Description

@NgSekLong

First of all thank you for this awesome library! Back to topic:

Issue Summary:
We want to show webpage title when user is redirected to the custom tab. Which is currently not possible due to code constrain.

Research:
We found that the below line of code in https://github.com/openid/AppAuth-Android/blob/0.7.0/library/java/net/openid/appauth/AuthorizationService.java#L367

intent.putExtra(CustomTabsIntent.EXTRA_TITLE_VISIBILITY_STATE, CustomTabsIntent.NO_TITLE);

Will make sure custom tab title is not visible, no matter how I set it.

As in the documentation, default for CustomTabsIntent.EXTRA_TITLE_VISIBILITY_STATE is already CustomTabsIntent.NO_TITLE, so I assume the purpose of the line of code is to reject people from using title in custom tab.

Request:
I would like to ask if it is possible to loosen this restriction, and allow us to add in title for the custom tab. Since we think adding in a title will make the authentication UX better.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions