简体   繁体   English

如何在流星科尔多瓦中添加插件变量?

[英]How to add plugin variable in meteor cordova?

How to pass variable in cordova plugin?? 如何在Cordova插件中传递变量?

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

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在meteor app中如何在cordova config.xml中添加orgin = *? - In meteor app how to add orgin=* in cordova config.xml? 如何在 Meteor-cordova 项目中添加应用程序链接 - How to add app-links on a Meteor-cordova project Cordova Crosswalk插件-与Meteor 1.4.2.2结合使用不起作用 - Cordova Crosswalk plugin - usage with Meteor 1.4.2.2 not working 流星错误:找不到Content-Security-Policy元标记。 使用cordova-plugin-whitelist插件时,请添加一个 - Meteor error: No Content-Security-Policy meta tag found. Please add one when using the cordova-plugin-whitelist plugin 如何在Cordova-plugin-smtp-client Meteor Mobile App上找到错误 - how find Error on Cordova-plugin-smtp-client Meteor Mobile App 如何在ionic 5中添加和使用非原生cordova插件 - How to add and use non native cordova plugin in ionic 5 如何将“google-services.json”文件添加到Meteor / Cordova项目中? - How do I add ‘google-services.json’ file to a Meteor/Cordova project? 每当我将新的 cordova package 添加到 Meteor 时,我都会收到“错误:缺少变量:REVERSED_CLIENT_ID” - Whenever I add a new cordova package to Meteor I get “Error: Variable(s) missing: REVERSED_CLIENT_ID” 我怎么能用Cordova和Meteor&React? - How could I use Cordova with Meteor & React? 科尔多瓦插件成功回调丢失绑定变量 - Cordova plugin success callback loses bind variable
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM