Skip to content
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

external.invoke returns undefined instead of promise on Windows 10 #319

Open
randall-coding opened this issue Nov 17, 2022 · 1 comment
Open

Comments

@randall-coding
Copy link

randall-coding commented Nov 17, 2022

MY SETUP:
Win10 Home on a virtual machine
EdgeHTML feature

THE ISSUE:
I'm running Win10 Home on a virtual machine and for whatever reason window.external.invoke always returns undefined rather than a Promise I can wait on (which I need for my javascript logic). But the invoke call is still making a rust api call that is working fine besides this one issue.

Unfortunately after searching through the issues it looks like I'm the only person experiencing this problem. But if anyone else is having this issue or has any advice to fix this please let me know.

@randall-coding randall-coding changed the title external.invoke returns undefined instead of promise on Windows 10 Home external.invoke returns undefined instead of promise on Windows 10 Nov 17, 2022
@VenerisAsgard
Copy link

VenerisAsgard commented May 24, 2023

i have same problem too. i did try to use window.external.invoke and external.invoke but its not working.
check it: https://github.com/Boscop/web-view/issues/289
My setup:
linux fedora 38.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants