[
https://issues.apache.org/jira/browse/CB-12122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15646069#comment-15646069
]
Shazron Abdullah edited comment on CB-12122 at 11/8/16 1:21 AM:
----------------------------------------------------------------
Where:
https://github.com/apache/cordova-lib/blob/f8b58c782c71558516adbbd81929ee31ec3ded7f/cordova-lib/src/plugman/install.js#L147
It rejects the promise here with 'skip':
https://github.com/apache/cordova-lib/blob/f8b58c782c71558516adbbd81929ee31ec3ded7f/cordova-lib/src/plugman/install.js#L151
Needs further investigation.
was (Author: shazron):
Where:
https://github.com/apache/cordova-lib/blob/f8b58c782c71558516adbbd81929ee31ec3ded7f/cordova-lib/src/plugman/install.js#L147
It skips rejection here since it's a warning:
https://github.com/apache/cordova-lib/blob/f8b58c782c71558516adbbd81929ee31ec3ded7f/cordova-lib/src/plugman/install.js#L151
> Incompatible plugin should make the build fail, not be skipped silently
> -----------------------------------------------------------------------
>
> Key: CB-12122
> URL: https://issues.apache.org/jira/browse/CB-12122
> Project: Apache Cordova
> Issue Type: Bug
> Components: CLI, Plugman
> Affects Versions: 6.3.0
> Reporter: 165537
>
> When compiling (on Phonegap Build) a project containing a plugin which
> Cordova's version is incompatible, the plugin is silently skipped and the
> build is successful. Of course the functionalities of the plugin won't work
> in the app. Eg, here's what I got when compiling phonegap-plugin-push with
> Cordova 6.3.0:
> Fetching plugin "[email protected]" via npm
> Installing "phonegap-plugin-push" at "1.9.0" for android
> Plugin doesn't support this project's cordova version. cordova: 6.3.2, failed
> version requirement: >=6.4.0
> Skipping 'phonegap-plugin-push' for android
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]