[ https://issues.apache.org/jira/browse/CB-6446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13982397#comment-13982397 ]
Sebastien commented on CB-6446: ------------------------------- Actually, I think this issue should be reopened, or maybe one should create a new one because even without using the mentioned Grunt task, passing multiple variables to `$ cordova plugin add` does not seem to work (latest cordova-cli). How can one reproduce this issue: 1. Enter `$ cordova plugin add pro.fing.cordova.gapreload --variable SERVER_HOST="yay, host value!" --variable SERVER_PORT="yet another passed value"`. 2. Open *plugins/pro.fing.cordova.gapreload/gapreload.xml* and see that the passed SERVER_HOST config is here unlike SERVER_PORT. > plugin:add grunt task only accepts a single --variable parameter > ---------------------------------------------------------------- > > Key: CB-6446 > URL: https://issues.apache.org/jira/browse/CB-6446 > Project: Apache Cordova > Issue Type: Bug > Components: CLI > Affects Versions: 3.4.0 > Environment: OSX > Reporter: Ron James > > To install the facebook connect plugin, we need to pass 2 variables - > APP_NAME and APP_ID, e.g: > grunt plugin:add:https://github.com/phonegap/phonegap-facebook-plugin.git > --variable APP_NAME=MyApp --variable APP_ID=1234123412341234 > The `variable` parameters aren't being passed through to plugman correctly so > the installation fails. -- This message was sent by Atlassian JIRA (v6.2#6252)