2016-07-05 5 views
0

のインストール:meteor build --directory ..\outputdir --server myserver.tk:3232meteor cordova pluginstにオプションを渡すには?流星のビルド時にはPhoneGapの-pluginのプッシュ

のような単純なコルドバプロジェクトでそれをインストールするときに、プラグイン[email protected]は値 = --variable SENDER_IDを必要とするので、私はエラーを持っていますこのコルドバのプラグインがSENDER_ID = "XXXXXXX" --variable PhoneGapの-pluginのプッシュを追加します。

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

流星にこのようなエラーをエスケープする方法は?

答えて

1

についてmobile-config

次に読みくださいあなたはあなたのモバイル設定に含める必要があります:それは仕方がないです

App.configurePlugin('phonegap-plugin-push', { 
    SENDER_ID: 'xxx' 
}); 
+0

。どうもありがとう! – basil

関連する問題