Open LeonidVeremchuk opened 6 years ago
Part of #201
In Kotlin
webView.addJavascriptInterface(new JavaScriptInterface(), “native”)
return WebviewScaffold(
url: url,
javascriptChannels: <JavascriptChannel>{
JavascriptChannel(
name: 'native',
onMessageReceived: (message) {
print(message);
},
),
},
);
but not work.
Will be added the support of a WebView function call to the native part?
This behavior may be similar to: addJavascriptInterface