[ 
https://issues.apache.org/jira/browse/CB-12545?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

jcesarmobile closed CB-12545.
-----------------------------
    Resolution: Not A Problem

Values for location are yes or no, you are using false, that causes your problem

Quoting the doc:
{quote}
location: Set to yes or no to turn the InAppBrowser's location bar on or off.
{quote}

> Inappbrowser crashes in iPhone 5 or 5c
> --------------------------------------
>
>                 Key: CB-12545
>                 URL: https://issues.apache.org/jira/browse/CB-12545
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin InAppBrowser
>    Affects Versions: 6.4.0
>         Environment: iPhone 5, iPhone 5c, iOS 10.2.1, ionic 2
>            Reporter: Alex Yang
>            Assignee: jcesarmobile
>            Priority: Critical
>              Labels: inappbrowser
>
> 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. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to