I am using Accompanist library to implement WebView changes in Android Jetpack Compose.
https://google.github.io/accompanist/web/
WebView(
state = state,
modifier = Modifier.weight(1f),
onCreated = { webView ->
webView.settings.javaScriptEnabled = true
},
client = webClient
)
I am not seeing any examples to add addJavascriptInterface to intercept toggle on/off interactions from WebView page.
Is this is possible with AccompanistWebView?