Welcome to the RNShop repository! This README provides instructions on how to clone, set up, and run the RNShop React Native application on your local development environment.
Before you begin, ensure you have met the following requirements:
Environment setup: https://reactnative.dev/docs/environment-setup
First, clone this repository to your local machine using Git:
git clone https://github.com/Bharathkdev/RNShop
Change your working directory to the app folder:
cd RNShop/
You can use npm or yarn to install the project dependencies.
yarn install
npm install
Before running the app on an iOS simulator or device, you'll need to install iOS dependencies using CocoaPods. Run the following commands:
cd ios/
pod install
This will install the required dependencies for the iOS portion of your app.
You can run the application on either an Android or iOS emulator, or on a physical device if it's connected to your development machine.
To run the app on an Android emulator or device, use one of the following commands:
yarn android
npx react-native run-android
To run the app on an iOS simulator or device, use one of the following commands:
yarn ios
npx react-native run-ios
If you face any error while installing pods using pod install make sure your pod version is up-to-date. Run the following command:
cd ios/
pod install --repo-update