Prerequesites: https://reactnative.dev/docs/environment-setup
- npm i
- sudo gem install cocoapods
- (Macbook M1 chip) sudo arch -x86_64 gem install ffi sudo gem pristine ffi --version 1.15.5
- bundle install
- cd ios && pod install
- arch -x86_64 pod install
- cd ..
- npx react-native start
- open another terminal (for M1 with Rosetta support)
- npx react-native run-ios
If it is not working please try again with following guide https://medium.com/@kailin8591/get-started-with-react-native-on-mac-m1-7e19915b85ab
Yoga Issue facebook/react-native#36758 => replace | with ||
- Start XCode
- Run a config for a Rosetta-enabled simulator
touch node_modules/react-native-config/ios/ReactNativeConfig/BuildDotenvConfig.rb
- Build in XCode (any iOS device)
- Product -> Archive
- Upload to store (app store connect)
- Not manage build numbers
- Auto signing
Prerequesites: https://reactnative.dev/docs/environment-setup
follow through blue wallet README android points. Important to have a JDK installed and environment variables set in your bash profile of choice (zsh, bashrc, ...) Also make sure to have enough space reserved for your emulator. Default is 800 MB which is too less. For an explanation how to change the size, please see https://stackoverflow.com/questions/54461288/installation-failed-with-message-error-android-os-parcelableexception-java-io Only after Android emulator is running.
- npx react-native start
- npx react-native run-android
- cd android
- ./gradlew bundleRelease
- npx react-native build-android --mode=release (builds APK)
- Internal testing -> create new release
- Upload from android/app/build/outputs/bundle/release/app-release.aab