Closed njtman closed 9 years ago
When adding a plugin, grunt-cordovacli has trouble passing along plugin variables on installation. The value of the variable is clearly passed along to the command line as shown below, but for some reason it is just not working. See log below
Using cordova CLI version (4.2.0) Setting Current Working Directory (CWD) to cordova Running:/Users/mobiledev/Documents/mobileapps/MyApp/node_modules/cordova/bin/cordova plugin add http://myserver:7990/scm/cdvp/LaunchMyApp-PhoneGap-Plugin.git --variable URL_SCHEME=value Fetching plugin "http://myserver:7990/scm/cdvp/LaunchMyApp-PhoneGap-Plugin.git" via git clone Variable(s) missing (use: --variable URL_SCHEME=value). Done-> cordova plugin add http://myserver.com:7990/scm/cdvp/LaunchMyApp-PhoneGap-Plugin.git --variable URL_SCHEME=value Success-> with Series tasks
Sorry, this issue was already brought up and it has been fixed. Feature request: add_plugins with variable #7
When adding a plugin, grunt-cordovacli has trouble passing along plugin variables on installation. The value of the variable is clearly passed along to the command line as shown below, but for some reason it is just not working. See log below
Using cordova CLI version (4.2.0) Setting Current Working Directory (CWD) to cordova Running:/Users/mobiledev/Documents/mobileapps/MyApp/node_modules/cordova/bin/cordova plugin add http://myserver:7990/scm/cdvp/LaunchMyApp-PhoneGap-Plugin.git --variable URL_SCHEME=value Fetching plugin "http://myserver:7990/scm/cdvp/LaunchMyApp-PhoneGap-Plugin.git" via git clone Variable(s) missing (use: --variable URL_SCHEME=value). Done-> cordova plugin add http://myserver.com:7990/scm/cdvp/LaunchMyApp-PhoneGap-Plugin.git --variable URL_SCHEME=value Success-> with Series tasks