Skip to content

AndroidX Browser Version Requirements

This page summarizes minimum androidx.browser versions required by feature-gated APIs.

Core Features

Feature API Minimum Version
Auth session support check AndroidAuthSession 1.9.0
Ephemeral browsing support query AndroidBrowser.IsEphemeralBrowsingSupported 1.9.0

AndroidBrowserOptionsBuilder

Feature API Minimum Version
Show page title WithTitleShown 1.2.0
Close button icon WithCloseButtonIcon 1.2.0
Open transition WithOpenTransition 1.2.0
Close transition WithCloseTransition 1.2.0
Color scheme WithColorScheme 1.2.0
Light/Dark color scheme options WithLightColorSchemeOptions, WithDarkColorSchemeOptions 1.2.0
Share button state WithShareButtonState 1.3.0
URL hiding WithUrlHidingEnabled 1.3.0
Default color scheme options WithDefaultColorSchemeOptions 1.3.0
Close button position WithCloseButtonPosition 1.5.0
Initial bottom-sheet height WithInitialHeightPercent 1.5.0
Bottom-sheet resize behavior WithHeightResizeBehavior 1.5.0
Bottom-sheet toolbar corner radius WithToolbarCornerRadiusDp 1.5.0
Background interaction WithBackgroundInteractionEnabled 1.7.0
Bookmarks button WithBookmarksButtonEnabled 1.7.0
Download button WithDownloadButtonEnabled 1.7.0
App-specific history WithAppSpecificHistoryEnabled 1.7.0
Open in external handler WithOpenInExternalHandlerEnabled 1.7.0
Side-sheet breakpoint WithSideSheetBreakpointDp 1.8.0
Side-sheet initial width WithInitialWidthPercent 1.8.0
Side-sheet position WithSideSheetPosition 1.8.0
Side-sheet decoration WithSideSheetDecoration 1.8.0
Side-sheet maximization WithSideSheetMaximizationEnabled 1.8.0
Side-sheet rounded corners WithSideSheetRoundedCornersPosition 1.8.0
Ephemeral browsing WithEphemeralBrowsingEnabled 1.9.0

ColorSchemeOptionsBuilder

Feature API Minimum Version
Toolbar color WithToolbarColor 1.2.0
Navigation bar color WithNavigationBarColor 1.2.0
Navigation bar divider color WithNavigationBarDividerColor 1.3.0

Behavior When Unsupported

When a feature is not supported by the detected package version:

  • The gated call is ignored.
  • A warning is logged.
  • The corresponding option remains unset (null).