[ https://issues.apache.org/jira/browse/CB-14087?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16490104#comment-16490104 ]
Ken Naito commented on CB-14087: -------------------------------- The code using extra tmpWindow ( above commented lines) is commited by https://github.com/apache/cordova-plugin-inappbrowser/commit/f32917df314f08296c53a4de0255a424be773184#diff-aa3201a8ef3df73e28e8979eaa6e228e , aiming to fix the issue when closing with WKWebView. I have not yet understood the detail. I only check the UIWebView case. The InAppBrowser plugin should work for both WKWebView and UIWebView. > InAppBrowser.open is getting stuck after first time use on iOS version 11.3.1 > ----------------------------------------------------------------------------- > > Key: CB-14087 > URL: https://issues.apache.org/jira/browse/CB-14087 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-inappbrowser > Affects Versions: cordova-ios@4.3.1 > Environment: Apple iOS 11.3.1( Working fine on earlier versions) > Device : iPad and iPhone > > Reporter: santosh nikam > Priority: Critical > Labels: 11.3.1, inappbrowser, ios > > Hello Team, > We are India based software development company working for US customer. In > our mobile application "PTOffice", we are using Cordova InAppBrowser plugin > to open our external website pages. It was working fine for iOS versions > lower than 11.3.*. But, now we are having issues with 11.3.1 since > 24-Apr-2018. > Issue is - InAppBrowser.open is working properly for first time. But, if we > close the app (i.e. removing it from memory) and try same action, > InAppBrowser.open is getting stuck and page loading is not getting completed. > Only way to get it working again is log-off & restart device OR do a fresh > app install again. There has been no code change and this code continues to > work on older iOS versions (< 11.3.1). But, somehow problem on 11.3.1 > / We've used below code in our app to open server side page in the > InAppBrowser. / > var target = "_blank"; > var options = "location=no,toolbar=yes,zoom=no,hidden=yes"; > var ref = cordova.InAppBrowser.open(encodeURI(url), target, options); > ref.addEventListener("loadstop", function (event) { > ref.show(); > }); > Please provide solution to open the web pages consistently in InAppBrowser on > iOS Version 11.3.1. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org