- Node v10 (it is recommended to install it via NVM)
- Yarn
- A development machine set up for React Native by following these instructions
- Clone this repo,
git clone https://github.com/linux08/ReactNativeBoilerPlate.git` - Go to project's root directory,
cd <your project name> - Open
package.jsonand change thenameproperty with your project name - Open
app.jsonand replace'MyReactNativeBoilerPlate'with your project name - Run
yarn installornpm installto install dependencies - Run
react-native upgrade --legacy trueto generate new android and iOS folder - Run
react-native-link-- Runnpm run androidto start on android
- On iOS
- cd into the ios folder
- run
pod update - cd into your root project directory then run
npm run ios
PRs are welcome