You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Andrew Grieve (JIRA)" <ji...@apache.org> on 2014/01/21 21:27:25 UTC
[jira] [Resolved] (CB-5844) CLI plugin adding does not regenerate
cordova_plugins.js for inappbrowser
[ https://issues.apache.org/jira/browse/CB-5844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Grieve resolved CB-5844.
-------------------------------
Resolution: Duplicate
Assignee: Andrew Grieve
> CLI plugin adding does not regenerate cordova_plugins.js for inappbrowser
> -------------------------------------------------------------------------
>
> Key: CB-5844
> URL: https://issues.apache.org/jira/browse/CB-5844
> Project: Apache Cordova
> Issue Type: Bug
> Components: CLI, iOS, Plugin Console, Plugin InAppBrowser
> Affects Versions: 3.3.0
> Environment: Mac OS X 10.8.5
> Reporter: Johannes Neumeier
> Assignee: Andrew Grieve
>
> When adding a inappbrowser plugin to a fresh iOS platform, the plugin gets added to the iOS config.xml, but is not present in the cordova_plugins.js file.
> In effect, the inappbrowser plugin is not available in the app.
> Running "$ cordova build ios" from the CLI correctly updates the cordova_plugins.js file. I found mention of this workaround solution on https://groups.google.com/forum/#!msg/phonegap/QsOt-_1Rbic/5GpIIftyDPoJ
> Running/building from XCode the plugin fails to load in the app.
> Reproduce like this on Mac OS X:
> $ cordova create test
> $ cd test
> $ cordova platform add ios
> $ cordova plugin add org.apache.cordova.inappbrowser
> Add <button onclick="window.open('http://www.apache.org/', '_blank','location=yes');">test</button> to the index.html.
> Run on XCode simulator.
> Observed behaviour: When clicking the button the app opens the link inside the current window
> Desired behaviour: The app opens a new inappbrowser instance that can be closed from the toolbar button.
> I don't know if this extends to adding other plugins from the CLI as well.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)