Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
data class KwikWebViewSettings(var userAgent: String = "Kwik-Android-WebView", var cookies: List<KwikCookie> = emptyList(), var debug: Boolean = false, var javaScriptEnabled: Boolean = true, var domStorageEnabled: Boolean = true, var allowFileAccess: Boolean = true, var allowContentAccess: Boolean = true, var allowFileAccessFromFileURLs: Boolean = false, var allowUniversalAccessFromFileURLs: Boolean = false, var javaScriptCanOpenWindowsAutomatically: Boolean = true, var supportMultipleWindows: Boolean = true)
Settings for the KwikWebView.
Functions
Link copied to clipboard
fun KwikWebView(modifier: Modifier = Modifier, url: String, javaScriptBridge: Any? = null, javaScriptBridgeName: String = "KwikBridge", hideProgressAfterLoading: Boolean = true, pageLoaded: () -> Unit = {}, failedToOpenLink: () -> Unit = {}, webViewSettings: KwikWebViewSettings.() -> Unit = {})
A web view component that allows you to load a URL and interact with it. Supports JavaScript, file access, and custom settings such as cookies and user agent parameters.
Link copied to clipboard
This function sets cookies for the WebView using the provided list of KwikCookie
objects.