AndroidX Browser Version Requirements
This page summarizes minimum androidx.browser versions required by feature-gated APIs.
Core Features
| Feature |
API |
Minimum Version |
| Auth Tab support check |
AuthTab |
1.9.0 |
| Ephemeral browsing support query |
CustomTab.IsEphemeralBrowsingSupported() |
1.9.0 |
CustomTabOptionsBuilder
| Feature |
API |
Minimum Version |
| Show page title |
WithTitleShowed |
1.2.0 |
| Close button icon |
WithCloseButtonIcon |
1.2.0 |
| Open animation |
WithOpenAnimation |
1.2.0 |
| Close animation |
WithCloseAnimation |
1.2.0 |
| Color scheme |
WithColorScheme |
1.2.0 |
| Light/Dark color scheme options |
WithLightColorSchemeOptions, WithDarkColorSchemeOptions |
1.2.0 |
| Share state |
WithShareState |
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 |
WithInitialHeightPx |
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 |
| Share identity |
WithShareIdentityEnabled |
1.7.0 |
| Send to external default handler |
WithSendToExternalDefaultHandlerEnabled |
1.7.0 |
| Side-sheet breakpoint |
WithSideSheetBreakingPointDp |
1.8.0 |
| Side-sheet initial width |
WithInitialWidthPx |
1.8.0 |
| Side-sheet position |
WithSideSheetPosition |
1.8.0 |
| Side-sheet decoration |
WithSideSheetDecorationType |
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).