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

Inappbrowser crashes in iPhone 5 or 5c

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Not A Problem
    • 6.4.0
    • None
    • iPhone 5, iPhone 5c, iOS 10.2.1, ionic 2

    Description

      When using the InAppBrowser plugin in an ionic 2 project, the InAppBrowser window would not display in iPhone 5 or iPhone 5c.

      Example code:

      new InAppBrowser(url, '_blank', 'location=false');

      The logs:
      2017-03-07 09:30:20.204 My App[19636:7391110] -[__NSCFString charValue]: unrecognized selector sent to instance 0x7ca47270
      2017-03-07 09:30:20.206 My App[19636:7391110] *** WebKit discarded an uncaught exception in the webView:decidePolicyForNavigationAction:request:frame:decisionListener: delegate: <NSInvalidArgumentException> -[__NSCFString charValue]: unrecognized selector sent to instance 0x7ca47270

      I suspect it is similar to http://stackoverflow.com/questions/31408909/nscfstring-charvalue-unrecognized-selector-sent-to-instance

      When I use "_self" instead of "_blank", there is no problem opening the system browser.

      Attachments

        Activity

          People

            jcesarmobile jcesarmobile
            alexyang Alex Yang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: