-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WebKitWebViewController.runJavaScriptReturningResult This exception occured every time in app #171
Comments
Could you show, how are you using it, and which version are you using? |
I have a same error with iOS in both virtual and physical devices. It has not occured in Android. My flutter_tex version is 4.0.6. Here is my flutter doctor.
Here is my sample code.
|
Hello @shah-xad, I am also facing this issue. First time user, so I cloned this project and ran example to understand it. Please see the attached clip. Screen.Recording.2024-01-08.at.14.24.53.movThis happens in every example (regardless of the selected rendering engine), couldn't show it all because damn GitHub limits video size to 10MB. :( BTW this is my flutter doctor
Oh, 1 more things, this is how I use this package in my app.
This has to be the simplest usage (without any Hope this helps you diagnose this issue. Please let me know if you need anything else from me. |
Is any updates? |
I also ran into the issue on I made a local hot fix by changing the following:
to
in the linked code above. Not sure if this is the right long-term solution, but posting here for anyone who's currently blocked by this issue as I am. |
any updates on this issue? |
Thank you so much |
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Invalid argument(s): Result of JavaScript execution returned a
null
value. UserunJavascript
when expecting a null return value.#0 WebKitWebViewController.runJavaScriptReturningResult (package:webview_flutter_wkwebview/src/webkit_webview_controller.dart:425:7)
The text was updated successfully, but these errors were encountered: