如何将选项传递给meteor cordova pluginst安装?安装phonegap插件推送
在meteor构建期间:如何将选项传递给meteor cordova pluginst安装?安装phonegap插件推送,cordova,meteor,Cordova,Meteor,在meteor构建期间:meteor构建--目录..\outputdir--服务器myserver.tk:3232 我有错误,因为插件phonegap插件-push@1.7.2在像这样的简单cordova项目中安装时,需要--变量发送者\u ID=valuecordova插件添加phonegap插件推送--variable SENDER\u ID=“XXXXXXX”: => Errors executing Cordova commands: While adding plugin
meteor构建--目录..\outputdir--服务器myserver.tk:3232
我有错误,因为插件phonegap插件-push@1.7.2在像这样的简单cordova项目中安装时,需要--变量发送者\u ID=valuecordova插件添加phonegap插件推送--variable SENDER\u ID=“XXXXXXX”:
=> Errors executing Cordova commands:
While adding plugin phonegap-plugin-push@1.7.2 to Cordova project:
Cordova error: Variable(s) missing (use: --variable SENDER_ID=value).
(If the error message contains suggestions for a fix, note that this
may not apply to the Meteor integration. You can try running again with
the --verbose option to help diagnose the issue.)
如何在Meteor中避免此类错误?请阅读
然后,您需要在移动配置中包括:
App.configurePlugin('phonegap-plugin-push', {
SENDER_ID: 'xxx'
});
请阅读
然后,您需要在移动配置中包括:
App.configurePlugin('phonegap-plugin-push', {
SENDER_ID: 'xxx'
});
这有帮助。谢谢!这有帮助。谢谢!