adrianflutur / webviewx

A feature-rich cross-platform webview using webview_flutter for mobile and iframe for web. JS interop-ready.
MIT License
83 stars 121 forks source link

Javascript channel communication #48

Open matszafraniec opened 3 years ago

matszafraniec commented 3 years ago

Hello,

thank you for developing this package. It has really large set of functionalities and it's well documented.

But I miss one thing: how can I bilateral communication using Javascript channels? There is no property for that in WebViewX widget. My use case is: on website there is postMessage call, which I have to capture. How can I achieve it with this package?

Of course I found TestDartCallback in example, but in my case I won't have option to edit website code to add these callbacks.

ishaan-puniani commented 2 years ago

following !!