Ramesh Murugesan
Ramesh Murugesan

Reputation: 5023

How to add plugin variable in meteor cordova?

How to pass variable in cordova plugin??

In normal cordova

cordova -d plugin add /path/to/cloned/phonegap-facebook-plugin --variable APP_ID="123456789" --variable APP_NAME="myApplication"

In meteor I tried

App.configurePlugin('nl.x-services.plugins.googleplus@https', {
  'APP_ID': '12345789',
  'APP_NAME': 'app_name'
});

But I got

Error while running for mobile platforms: Failed to install plugin com.phonegap.plugins.facebookconnect: Variable(s) missing (use: --variable APP_ID=value --variable
APP_NAME=value).

Upvotes: 1

Views: 254

Answers (1)

Nam Hoang
Nam Hoang

Reputation: 94

the plugin name is com.phonegap.plugins.facebookconnect, not nl.x-services.plugins.googleplus@https

Upvotes: 2

Related Questions