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

Invoke handler not receiving Javascript messages #285

Open
ssmith22 opened this issue May 12, 2021 · 3 comments
Open

Invoke handler not receiving Javascript messages #285

ssmith22 opened this issue May 12, 2021 · 3 comments

Comments

@ssmith22
Copy link

Using Ubuntu 18.04. After the latest upgrade the webview handler no longer receives Javascript messages.

These new libraries might be the culprits:
gtk_updates

No error or complication issues show up. Confirmed using webview-examples.

@jeffparsons
Copy link

Probably related: #280

@jeffparsons
Copy link

@ssmith22 I've just confirmed that the fix from #280 works for me on Ubuntu 20.10, after having the equivalent OS package update break it for me today.

@ssmith22
Copy link
Author

Thanks! The script fix didn't work for me, but changing the invoke line based on the linked slask question did. Ie: window.webkit.messageHandlers.external.postMessage(JSON.stringify(arg));

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