- Splash
- Login
- Home
- Profile
- Clone this repo,
git clone https://github.com/Thanhal-P-A/React-Native-Boilerplate-Architecture.git - Go to project's root directory, run
cd React-Native-Boilerplate-Architecture - Remove
.gitfolder, runrm -rf .git - Run
yarnornpm installto install dependencies - After installing dependencies run
npx react-native startto start the packager - Connect a mobile device to your development machine or open an emulator
- Run the application :
- On Android:
- Open another terminal and run
npx react-native run-android
- Open another terminal and run
- On iOS:
- Open
ios/YourReactProject.xcodeprojin Xcode - Hit
Runafter selecting the desired device
- Open
- If build failed in android :
- Open
android/appin android studio and wait for indexing and synching the project. Then runnpx react-native run-androidor hitRunbutton after selecting device or emulator from android studio - If connection error occur, try running command
adb reverse tcp:8081 tcp:8081to reverse proxy then retry.
- Open
- There You Go !!!!