[英]In meteor app how to add orgin=* in cordova config.xml?
[英]How to add plugin variable in meteor cordova?
如何在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).
插件名稱為com.phonegap.plugins.facebookconnect
,而不是nl.x-services.plugins.googleplus@https
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.