Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-14087

InAppBrowser.open is getting stuck after first time use on iOS version 11.3.1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Cannot Reproduce
    • cordova-ios@4.3.1
    • None
    • Apple iOS 11.3.1( Working fine on earlier versions)

      Device : iPad and iPhone

       

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            santoshnikam santosh nikam
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: