Package-level declarations

Types

Link copied to clipboard
class CustomTabsUriHandler(context: Context, toolbarColor: Int? = null, darkTheme: Boolean? = null, preferNativeApp: Boolean = false) : UriHandler

Opens web links in a Custom Tab: the user's browser inside the app, with the app's colours and a way back, as Android recommends for links in content. Other schemes (mailto:, tel:, app links) go to the app that handles them.

Functions

Link copied to clipboard
@Composable
fun rememberCustomTabsUriHandler(preferNativeApp: Boolean = false): UriHandler

A CustomTabsUriHandler with the current theme's surface colour and light / dark scheme.