You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
final flutterWebviewPlugin = new FlutterWebviewPlugin();
var code = "function myFunction(x, y) { return x + y;} return myFunction(2, 3);";
await flutterWebviewPlugin.launch("http://www.google.com", withJavascript: true, hidden: true);
var ret = await flutterWebviewPlugin.evalJavascript(code);
and when i did into the error on the channel i see the following error out of the webview evaluateJavaScript call
error NSError * domain: @"WKErrorDomain" - code: 4 0x00006000002528d0
I am assuming I would have to build a local html file with the javascript function included it that and then call that post url load. Is that correct? Any examples on how to launch a local html ?
Any ideas ?
The text was updated successfully, but these errors were encountered:
OK .. So i tried the following code
and when i did into the error on the channel i see the following error out of the webview evaluateJavaScript call
error NSError * domain: @"WKErrorDomain" - code: 4 0x00006000002528d0
I am assuming I would have to build a local html file with the javascript function included it that and then call that post url load. Is that correct? Any examples on how to launch a local html ?
Any ideas ?
The text was updated successfully, but these errors were encountered: