Code Push PoC
Requirements
- node >= 10
- yarn
- appcenter-cli (Optional, required deploying apps to app-center server)
$ npm install -g appcenter-cli
Running the code
-
Install all package dependencies
$ yarn install
-
Run android app on development mode (With either a emulator or a device connected)
$ yarn android
-
Run react-native package for serving on android app
$ yarn start
-
Deploy changes to app-center (code-push).
$ yarn deploy
-
Create release apk for testing code push app update. The apk should be available inside
android/app/build/output/apk/
$ yarn release