No matter what I do all browsers return false for useCustomTab · Issue #423 · openid/AppAuth-Android · GitHub
Skip to content

No matter what I do all browsers return false for useCustomTab #423

Description

@KevinPosim

Set up Chrome as default browser
com.android.chrome with version 69.0.3497.100 has browser.useCustomTab = false

Set up Firefox as default browser
org.mozilla.firefox with version 62.0.3 has browser.useCustomTab = false

Looking at this data in the AuthorizationService constructor by setting a break point and inspecting the browser variable.

Tried to white list Chrome, Firefox and Samsung browser via AppAuthConfiguration but then it just gives activity not found exception in the console and program stops.

Run simple test of
CustomTabsIntent.Builder().build().launchUrl(this, Uri.parse("https://www.cnn.com"))

This runs and uses a custom tab in the app without any issue so custom tabs are usable via code on the device using either browser.

App is built using androidx libraries 1.0.0, Kotlin version 1.2.71, supportLibVersion = '28.0.0'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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