WKWebViewHostApiImpl.evaluateJavaScriptForInstances
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(FWFEvaluateJavaScriptError, Failed evaluating JavaScript., JavaScript execution returned a result of an unsupported type (WKErrorDomain:5:{NSLocalizedDescription: JavaScript execution returned a result of an unsupported type}), null)
#0 WKWebViewHostApiImpl.evaluateJavaScriptForInstances (package:webview_flutter_wkwebview/src/web_kit/web_kit_api_impls.dart:1082:7)
same problem here i think a permission is needed but i don't found it or ios restrict building apps using webview , because javascript is restricted ,i set JavaScriptMode to unrestricted it still restricted , and also same code work fine in android , so please what we need to add to our info.plist to make it work .