The canonical bidirectional communication tool between a WebView and its NativeScript application container is by way of the WebViewInterface lib. It provides an easy to use API outlined at the link below:
The code I have has worked with a simple webpage with the standard script src=".
The window object is required to hook into the API from inside the WebView. Messages sent from the WebView/f7 do not arrive in the app container, nor do messages originated in the NativeScript app container arrive to the WebVIew…
window.nsWebViewInterface
I aim to publish a basic working demo which might attract adoption from the NativeScript community.