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

inAppBrowser (_blank) returns to unresponsive app after "done" on iOS 10.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Duplicate
    • None
    • None
    • None

    Description

      Same app works on iOS 9 and Android. Also works on _system with Safari browser.

      Use case. I create a simplified test case with a touch button to invoke code (I have tried many workarounds without change of behavior) The fundamental code is:


      var options =

      { location: 'yes', clearcache: 'yes', toolbar: 'yes' }

      ;
      IABRef = cordova.InAppBrowser.open(encodeURI('https://conconn-staging.herokuapp.com'), '_blank', options);

      IABRef.addEventListener('exit', iabClose);


      I can enter the browser. If I hit "done" immediately, I return successfully and can use the button to reinvoke the browser. However if I interact with the browser content, there is about a 90%+ that upon exit ("done") to the app, the app will not be responsive.. It should be noted that the exit listener does activate, but I have not found a way to reactivate the application's response.

      I suspect that there is an interaction at the interface between InAppBrowser and the Apple Library for iOS 10, but this is speculation. As I said this work with iOS 9 and fails in iOS 10. This can be simulated . (Xcode 8.3.3) and observed on hardware.

      I believe there are multiple people facing this issue. Happy to provide more information or collaborate if appropriate.

      I would be happy with a reliable work around or patch.

      Attachments

        1. MyApp.zip
          30 kB
          Jacob Weber

        Issue Links

          Activity

            People

              Unassigned Unassigned
              cdpalmer3 Charles Palmer
              Votes:
              3 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: