web-view
web-view copied to clipboard
Invoke handler not receiving Javascript messages
Using Ubuntu 18.04. After the latest upgrade the webview handler no longer receives Javascript messages.
These new libraries might be the culprits:

No error or complication issues show up. Confirmed using webview-examples.
Probably related: https://github.com/Boscop/web-view/issues/280
@ssmith22 I've just confirmed that the fix from https://github.com/Boscop/web-view/issues/280 works for me on Ubuntu 20.10, after having the equivalent OS package update break it for me today.
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));