[
https://issues.apache.org/jira/browse/CB-11180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Darryl Pogue resolved CB-11180.
-------------------------------
Resolution: Fixed
> Ignore plugin mapper when a git spec is specified
> -------------------------------------------------
>
> Key: CB-11180
> URL: https://issues.apache.org/jira/browse/CB-11180
> Project: Apache Cordova
> Issue Type: Bug
> Components: cordova-lib
> Affects Versions: 6.0.0
> Reporter: Darryl Pogue
> Priority: Minor
> Labels: triaged
>
> We had a project with this in the config.xml:
> {code}
> <plugin name="net.yoik.cordova.plugins.screenorientation"
> spec="https://github.com/Telerik-Verified-Plugins/ScreenOrientation.git" />
> {code}
> However, the cordova plugin mapper has an entry for
> {{net.yoik.cordova.plugins.screenorientation}} that was telling it to fetch
> from npm.
> The cordova prepare output said it was being fetched from npm, but there was
> a folder in ./plugins/ with the old ID and then it said that it failed to
> install for iOS because it was already installed for Android, and also said
> that it was fetching from npm again.
> The best solution is probably to avoid going through the plugin mapper if a
> spec is a git reference (or maybe if there's a spec at all?)
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]