Skip to main content
Version: 5.0

Interface: AndroidOptions

Properties

isAnimated

Optional isAnimated: boolean

Controls the animation when the Custom Tabs is shown or hidden via a slide animation.

Default

true


isIncognito

Optional isIncognito: boolean

Controls if the Custom Tabs is launched in incognito mode. This will disable the sharing of cookies between the browser and the Custom Tabs. You will have to manually store and retrieve the tokens in the KeyStore if you want to use them on subsequent sessions without re-authenticating.

Note: This option is not guaranteed to be available to all users. Android requires that users manually enable incognito third-party use(chrome://flags/#cct-incognito-available-to-third-party) in Chrome's settings.

Default

false


Optional navigationBarColor: string

Specifies the navigation bar color. Takes a string that can be parsed as a color by android.graphics.Color.parseColor.


Optional navigationBarDividerColor: string

Specifies the navigation bar divider color. Takes a string that can be parsed as a color by android.graphics.Color.parseColor.


secondaryToolbarColor

Optional secondaryToolbarColor: string

Specifies the secondary toolbar color. Takes a string that can be parsed as a color by android.graphics.Color.parseColor.


showDefaultShareMenuItem

Optional showDefaultShareMenuItem: boolean

Shows the default share menu item in the action bar.

Default

false


toolbarColor

Optional toolbarColor: string

Specifies the toolbar color. Takes a string that can be parsed as a color by android.graphics.Color.parseColor.