Closed jonchenn closed 9 years ago
Having this issue as well. Any workarounds?
Use the args property to pass variables
add_facebook_plugin: {
options: {
command: 'plugin',
action: 'add',
plugins: [
'com.phonegap.plugins.facebookconnect'
],
args:['--variable','APP_ID=fb12132424','--variable','APP_NAME=myappname']
}
}
I was trying to add plugins using grunt-cordovacli with the following task:
and it just returns:
Running: ...somepath.../cordova plugin add "com.phonegap.plugins.facebookconnect" --variable APP_ID="xxxxxxx" --variable APP_NAME="xxxxxx" undefined Error Error-> with Series tasksError