This question is locked. New answers and comments are not allowed.
In AppBuilder, I've created a Cordova app that uses InAppBrowser and executeScript and it works fine. It loads the page I tell it to and it executes the script.
If I take the default kendo mobile app and add the InAppBrowser, it will navigate to the page that I specify, but executeScript will not work.
Replace the login.js file with the one I have attached. You will notice a new 'run' function and then a call to that function after the viewModel is instantiated.
If I remove the run function and use a local variable after the viewModel is instantiated it does work. I would like to reuse the reference in my model though.
What am I doing wrong here?
If I take the default kendo mobile app and add the InAppBrowser, it will navigate to the page that I specify, but executeScript will not work.
Replace the login.js file with the one I have attached. You will notice a new 'run' function and then a call to that function after the viewModel is instantiated.
If I remove the run function and use a local variable after the viewModel is instantiated it does work. I would like to reuse the reference in my model though.
What am I doing wrong here?