HOW TO INSTALL CODE PUSH IN REACT NATIVE - ARTIKEL SALIM TEKNOLOGI

Latest

Artikel Bermanfaat Untuk Kita Semua

Minggu, 23 Oktober 2022

HOW TO INSTALL CODE PUSH IN REACT NATIVE


Are you a react native mobile user? If yes, I suggest that every project to be released to Google Play/Play Store should install this react-native-code-push, why? since this plugin is very helpful when there is an urgent update, how is it implemented? follow below

command to push Production :
appcenter CodePush release-react -a salimsea/rnosrdxclean -d Production

command for development push Staging :
appcenter CodePush release-react -a salimsea/rnosrdxclean -d Staging

command to get key :
appcenter codepush deployment list -a salimsea/rnosrdxclean -k

steps :

- yarn add react-native-code-push

- cmd : appcenter login

- open web appcenter.ms create codepush

- MainApplication.java settings

- setting res/values/strings.xml

- setting app/build.gradle

- setting android/setting.gradle

- go to app.js

for more check github rnosrdxclean (https://github.com/salimsea/rnosrdxclean)

docs : https://github.com/microsoft/react-native-code-push/blob/master/docs/api-js.md

Tidak ada komentar:

Posting Komentar