Reputation: 3612
During meteor build: meteor build --directory ..\outputdir --server myserver.tk:3232
I've got error because plugin [email protected] requires --variable SENDER_ID=value when installing it in simple cordova project like this cordova plugin add phonegap-plugin-push --variable SENDER_ID="XXXXXXX":
=> Errors executing Cordova commands:
While adding plugin [email protected] 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.)
How to escape such error in Meteor?
Upvotes: 0
Views: 210
Reputation: 1242
Please read about mobile-config
Then You need to include in Your mobile config:
App.configurePlugin('phonegap-plugin-push', {
SENDER_ID: 'xxx'
});
Upvotes: 2