setupWebView

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

Setup the web view to be synced with 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 param if you don't need to set a web view client.