Lincoln D
Posts: 0
Joined: Sat Jun 13, 2015 5:01 pm

window.open does not have "Back" or "Close" on iOS. Works fine on android and windows phone.

var link = 'www.nytimes.com'
window.open(link, '_blank', '');

On iPhone, above code opens the link but there is no way to go back to the application.

Please advise.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

window.open does not have "Back" or "Close" on iOS. Works fine on android and windows phone.

Hello Lincoln,

You may try to open your link for example in Safari for iOS devices. Hope this link will be useful for you: https://getsatisfaction.com/apperyio/...

Lincoln D
Posts: 0
Joined: Sat Jun 13, 2015 5:01 pm

window.open does not have "Back" or "Close" on iOS. Works fine on android and windows phone.

When I do the following code, I get "Undefined Object" for window.plugin.childBrowser.

Can you help?

try {
var cb = window.plugins.childBrowser;
if(cb !== null) {
cb.showWebPage(url);
} else {
alert("CB is null");
}
} catch (e){
alert(e);
}

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

window.open does not have "Back" or "Close" on iOS. Works fine on android and windows phone.

Hi Lincoln -

In new Cordova version 'childBrowser' is deprecated, you can use now InAppBrowser: https://github.com/apache/cordova-plu...

Return to “Issues”