This question is locked. New answers and comments are not allowed.
Hey,
Would you have any idea why the InAppBrowser events are not firing. I tried the sample app (https://github.com/Icenium/sample-in-app-browser.git) and in my own. I get the browser to pop up but events don't seem to fire. Note I'm working in the Graphite Simulator.
From the InAppBrowser documentation at http://cordova.apache.org/docs/en/2.4.0/cordova_inappbrowser_inappbrowser.md.html
Would you have any idea why the InAppBrowser events are not firing. I tried the sample app (https://github.com/Icenium/sample-in-app-browser.git) and in my own. I get the browser to pop up but events don't seem to fire. Note I'm working in the Graphite Simulator.
From the InAppBrowser documentation at http://cordova.apache.org/docs/en/2.4.0/cordova_inappbrowser_inappbrowser.md.html
var ref = window.open('http://apache.org', '_blank', 'location=yes');
ref.addEventListener('loadstart', function() { alert('start: ' + event.url); });
ref.addEventListener('loadstop', function() { alert('stop: ' + event.url); });
ref.addEventListener('exit', function() { alert(event.type); });
Are you able to see the alerts? I may be a block head but I don't see how the loadstart would ever fire since it could have already fired before it is hooked up. I assume I'm missing something as this is straight from the docs.
Thanks for the help,
Tom