-
Notifications
You must be signed in to change notification settings - Fork 768
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
[Wasm] WebView.executeScriptAsync must be a Function but was undefined #19635
Comments
DEMO REPO: https://github.com/baskren/UnoWasmWebView2ExecuteScriptAsyncFail Also note that, in the demo app, after ExecuteScriptAsync is run, the app is frozen. |
@jeromelaban : Thank you for taking a look at this! |
@MartinZikmund It looks like:
should be using an actual async JSImport? Do you recall if WebView2 actually supports async calls? |
6 tasks
6 tasks
Thank you @MartinZikmund and @jeromelaban |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I haven't seen this anywhere and, before filing a but report, I wanted to ask if ExecuteScriptAsync() is available for the WASM implementation of WebView2? When I try it ...
... I get the following (and more) in the JavaScript console:
Happens with any Uno.Sdk 5.6.xx implementation I've tried, both in VisualStudio Windows and JetBrains Rider for MacOS.
Originally posted by @baskren in #19627
The text was updated successfully, but these errors were encountered: