You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jcesarmobile (JIRA)" <ji...@apache.org> on 2017/03/08 22:48:37 UTC
[jira] [Assigned] (CB-12545) Inappbrowser crashes in iPhone 5 or 5c
[ https://issues.apache.org/jira/browse/CB-12545?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
jcesarmobile reassigned CB-12545:
---------------------------------
Assignee: jcesarmobile
> 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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org