The options listed below, instead, represent the ChromeSafariBrowserClassOptions available only for the ChromeSafariBrowser class.

Android-specific Browser options

This list is generated from the AndroidChromeCustomTabsOptions API Reference.

  • addDefaultShareMenuItem: Set to false if you don't want the default share item to the menu. The default value is true. (READ MORE)
  • enableUrlBarHiding: Set to true to enable the url bar to hide as the user scrolls down on the page. The default value is false. (READ MORE)
  • instantAppsEnabled: Set to true to enable Instant Apps. The default value is false. (READ MORE)
  • keepAliveEnabled: Set to true to enable Keep Alive. The default value is false. (READ MORE)
  • packageName: Set an explicit application package name that limits the components this Intent will resolve to. If left to the default value of null, all components in all applications will considered. If non-null, the Intent can only match the components in the given application package. (READ MORE)
  • showTitle: Set to false if the title shouldn't be shown in the custom tab. The default value is true. (READ MORE)
  • toolbarBackgroundColor: Set the custom background color of the toolbar. (READ MORE)

iOS-specific Browser options

This list is generated from the IOSSafariOptions API Reference.

  • barCollapsingEnabled: Set to true to enable bar collapsing. The default value is false. (READ MORE)
  • dismissButtonStyle: Set the custom style for the dismiss button. The default value is IOSSafariDismissButtonStyle.DONE. (READ MORE)
  • entersReaderIfAvailable: Set to true if Reader mode should be entered automatically when it is available for the webpage. The default value is false. (READ MORE)
  • preferredBarTintColor: Set the custom background color of the navigation bar and the toolbar. (READ MORE)
  • preferredControlTintColor: Set the custom color of the control buttons on the navigation bar and the toolbar. (READ MORE)
  • presentationStyle: Set the custom modal presentation style when presenting the WebView. The default value is IOSUIModalPresentationStyle.FULL_SCREEN. (READ MORE)
  • transitionStyle: Set to the custom transition style when presenting the WebView. The default value is IOSUIModalTransitionStyle.COVER_VERTICAL. (READ MORE)