Boston Dell-Vandenberg created CB-6035:
------------------------------------------

             Summary: 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


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