【问题标题】:How to add plugin variable in meteor cordova?如何在流星科尔多瓦中添加插件变量?
【发布时间】:2015-07-12 01:39:38
【问题描述】:

如何在cordova插件中传递变量??

在正常的科尔多瓦

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

我试过在流星中

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

但我得到了

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).

【问题讨论】:

    标签: javascript cordova meteor


    【解决方案1】:

    插件名称是com.phonegap.plugins.facebookconnect,而不是nl.x-services.plugins.googleplus@https

    【讨论】:

      猜你喜欢
      • 2014-12-08
      • 1970-01-01
      • 1970-01-01
      • 2015-08-13
      • 2016-01-29
      • 1970-01-01
      • 2016-04-22
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多