[ 
https://issues.apache.org/jira/browse/CB-6035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13900679#comment-13900679
 ] 

ASF subversion and git services commented on CB-6035:
-----------------------------------------------------

Commit e41b59cd83548086cb720f4f3cd927e92d0e794f in branch 
refs/heads/v2.0.0-GOLD from [~bhigg...@blackberry.com]
[ 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-inappbrowser.git;h=e41b59c
 ]

CB-6035 - Move js-module so it is not loaded on unsupported platforms

BlackBerry 10 has a native implementation which does not require the plugin.


> InAppBrowser plugin issue on Blackberry 10
> ------------------------------------------
>
>                 Key: CB-6035
>                 URL: https://issues.apache.org/jira/browse/CB-6035
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: BlackBerry, Plugin InAppBrowser
>    Affects Versions: 3.3.0
>         Environment: BlackBerry10
>            Reporter: Boston Dell-Vandenberg
>            Assignee: Bryan Higgins
>
> When installing InAppBrowser plugin via the Cordova CLI on a project with 
> Android, iOS and Blackberry10 platforms the plugin is added to BlackBerry10 
> platform even though Blackberry10 supports the functionality natively.
> With the plugin installed calling window.open results in error, when the 
> plugin is not installed window is opened successfully.
> {code}
> var iab = $window.open(authUrl, '_blank', 'location=yes');
> {code}
> Result with plugin installed:
> {code}
> Error: 'undefined' is not an object (evaluating 'event.type')
> _eventHandler@local:///plugins/org.apache.cordova.inappbrowser/www/InAppBrowser.js:38:17
> cb@local:///plugins/org.apache.cordova.inappbrowser/www/InAppBrowser.js:90:24
> callbackFromNative@local:///cordova.js:294:52
> exports@local:///cordova.js:874:38
> exports@local:///plugins/org.apache.cordova.inappbrowser/www/InAppBrowser.js:93:8
> getRemoteFileFromOnlineStorage@local:///scripts/controllers/fax.js:611:32
> ...
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to