Created
September 11, 2017 07:06
-
-
Save thanhzusu/3b249449462ca1b571185fc511061d4c to your computer and use it in GitHub Desktop.
React Native common CLI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- iOS IPA: | |
- bundle: react-native bundle --entry-file index.ios.js --platform ios --dev false --bundle-output ios/main.jsbundle --assets-dest ios | |
- archive: run achive under Product menu of Xcode | |
- Android APK: | |
- bundle: react-native bundle --platform android --dev false --entry-file index.android.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/ | |
- signed APK files: | |
- cd android && ./gradlew assembleRelease && cd .. | |
- cd android && ./gradlew assembleReleaseStaging && cd .. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment