+ Start a Discussion

PhoneGap InAppBrowser Unresponsive

I have the InAppBrowser working when the app is loaded but when I resume the application I am getting an unresponsive call to window.open.

I am verifying the device is ready and I even reload the page on resume to try and reinitialize but still not working.


	// Register the event listener
		document.addEventListener("deviceready", onDeviceReady, false);
		function onDeviceReady() {
			// Register the resume event listener
			document.addEventListener("resume", onResume, false);

		function onResume() {
			alert("Resuming Application...");


In the below snippet both alerts fire but the window.open does nothing after the initial load. 

                    window.open('http://google.com', '_blank', 'location=yes');

 Is there anything special that needs to happen to reinitialize cordova besides deviceready to get window.open to work again? Is anybody else seeing this?


I have cordova 2.3 js file within the VF page and natively on the ios device.