Note: Make sure you have installed native code dependencies here
- Open project folder in Visual Studio Code
- Run
yarn install
in the terminal - For iOS device (only on MacOS)
- Run
npx pod-install
- Then, run
npx react-native run-ios
to view on iOS simulator or follow the instructions here to run on a physical device.
- Run
- For Android device.
- Use Android Virtual Device in Android Studio or follow the instructions here to run on physical device.
- Then, run
cd android && gradle wrapper && cd ..
- Then, run
npx react-native run-android
- For release, run in android folder:
./gradlew assembleRelease
*. black theme on Android: facebook/react-native#31052