2016-07-05 2 views
0

설치 : [email protected] 플러그인 것이 필요하기 때문에 meteor build --directory ..\outputdir --server myserver.tk:3232유성우 코드 설치에 옵션을 전달하는 방법은 무엇입니까? 유성 빌드하는 동안 폰갭 - 플러그인 푸시

나는 오류를 가지고 --variable SENDER_ID = 값 같은 간단한 코르도바 프로젝트에 설치 이 코르도바 플러그인을 추가 폰갭 - 플러그인 푸시 --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.) 

어떻게 유성 이러한 오류를 탈출?

답변

1

에 대한 mobile-config

그리고 읽어 보시기 바랍니다 당신은 당신의 모바일 설정에 포함해야합니다 : 그것은 도왔다

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

. 고마워요! – basil

관련 문제