setupWebView

fun setupWebView(webView: WebView, webViewClient: WebViewClient?)

Set up the web view to be synced with the SDK. Do not set a web view client to the web view after calling this function. If you wish to set a web view client, call this function again with the new web view client. This function enables JavaScript in the web view's settings. Do not change this setting.

Parameters

webView

The web view.

webViewClient

an optional web view client. Ignore this parameter if you don't need to set a web view client.