yarn global add appcenter-cli
yarn add react-native-code-push
appcenter login
appcenter apps create -d saladweeks-store-android -o Android -p React-Native
별명을 설정하여 -a <username>/<packagename>
을 추가하지않아도 된다.
appcenter apps set-current peace.withwithout-gmail.com/saladweeks-store-android
등록된 서비스 확인
appcenter apps list
appcenter codepush deployment add Staging
appcenter codepush deployment add Production
Key를 다시 확인하려면
appcenter codepush deployment list -k
appcenter codepush release-react -d Staging --mandatory
추가
appcenter codepush release-react -d Staging -m --description "Modified the header color"
--mandatory
강제 앱 업데이트, --description
설명
appcenter codepush release-react -d Production
배포 확인하기
appcenter codepush deployment list