First of all, thank you very much for this plugin. I'm sure this has helped a lot of people.
Here is my scenario:
I have 2 files, home.js and page2.js and a folder called www which contains two files, index.html and index.js. These are all inside the app folder.
Btw, this is a vanilla project.
I've imported the nativescript-webview-interface in page2.js which also has the code to trigger the functions that are defined in the index.js.
This setup is working perfectly on android, but it is not on iOS.
On iOS, I have noticed that when the emitEventToWebView() is run, it doesn't trigger the methods that are declared in the index.js
Any thoughts?
Please help me. :)
First of all, thank you very much for this plugin. I'm sure this has helped a lot of people.
Here is my scenario:
I have 2 files, home.js and page2.js and a folder called www which contains two files, index.html and index.js. These are all inside the app folder.
Btw, this is a vanilla project.
I've imported the nativescript-webview-interface in page2.js which also has the code to trigger the functions that are defined in the index.js.
This setup is working perfectly on android, but it is not on iOS.
On iOS, I have noticed that when the emitEventToWebView() is run, it doesn't trigger the methods that are declared in the index.js
Any thoughts?
Please help me. :)