[ https://issues.apache.org/jira/browse/CB-12211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marco updated CB-12211: ----------------------- Description: Consider the following scenario: 1. My Cordova App have a filter based on InAppBrowser like this: function openurlinexternalbrowser() { $(document).on('click', 'a[target="_system"],a[target="_blank"]', function (e) { e.preventDefault(); var url = this.href; window.open(url, "_system"); }); } 2. This filter permits to open the url in anchor tag ( <a>...</a> ) in external browser. For example: <a class="link_no_decoration" href="http://www.google.com/" target="_blank">Test Google</div></a> 3. So, my App uses InAppBrowser plugin and calls window.open with _system as a target. --- WRONG BEHAVIOUR --- What's happen when I try to open an url? - in iOS 9, all works fine, url it's open in external browser after click on a link; - in iOS 10 nothing happen, but if you click on a link, and then click twice on the home button (like when you enter in multitasking mode), the browser appears and it opens the url. It's possible to fix this problem? was: Consider the following scenario: 1. My Cordova App have a filter based on InAppBrowser like this: function openurlinexternalbrowser() { $(document).on('click', 'a[target="_system"],a[target="_blank"]', function (e) { e.preventDefault(); var url = this.href; window.open(url, "_system"); }); } 2. This filter permits to open the url in anchor tag ( <a>...</a> ) in external browser. For example: <a class="link_no_decoration" href="http://www.google.com/" target="_blank">Test Google</div></a> 3. So, my App uses InAppBrowser plugin and calls window.open with _system as a target. --- WRONG BEHAVIOUR --- What's happen when I try to open an url? - in iOS 9, all works fine, url it's open in external browser after click on a link; - in iOS 10 nothing happen, but if you click on a link, and then click twice on the home button (like when you enter in multitasking mode), the browser appears and it opens the url. It's possible to fix this problem? > InAppBrowser - problem in iOS 10 when try to open an url in external browser > with window.open(url, "_system") > ------------------------------------------------------------------------------------------------------------- > > Key: CB-12211 > URL: https://issues.apache.org/jira/browse/CB-12211 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin InAppBrowser > Environment: iOS 10 > Reporter: Marco > > Consider the following scenario: > 1. My Cordova App have a filter based on InAppBrowser like this: > function openurlinexternalbrowser() { > $(document).on('click', 'a[target="_system"],a[target="_blank"]', > function (e) { > e.preventDefault(); > var url = this.href; > window.open(url, "_system"); > }); > } > 2. This filter permits to open the url in anchor tag ( <a>...</a> ) in > external browser. For example: > <a class="link_no_decoration" href="http://www.google.com/" > target="_blank">Test Google</div></a> > 3. So, my App uses InAppBrowser plugin and calls window.open with _system as > a target. > --- WRONG BEHAVIOUR --- > What's happen when I try to open an url? > - in iOS 9, all works fine, url it's open in external browser after click on > a link; > - in iOS 10 nothing happen, but if you click on a link, and then click twice > on the home button (like when you enter in multitasking mode), the browser > appears and it opens the url. > It's possible to fix this problem? -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org