Step 1:
Download or clone this repo by using the link below: https://github.com/ChiragPansuriya-iView/DGReactNativeProgrammingTest
Step 2:
Go to project root folder
cd DGReactNativeProgrammingTest
Step 3:
Execute the following command in console to get the required dependencies:
npm install or yarn
Step 4:
Make sure you have an ios Simulator or Android Emulator running or have an ios device with you:
npm start or yarn start
- Android
yarn android to run the Android application (remember to start a simulator or connect an Android phone)
npx react-native run-android
- IOS
cd ios -> pod install(to install pod dependencies) -> cd ..
yarn ios to run the iOS application (remember to start a simulator or connect an iPhone phone)
npx react-native run-ios