Simple Cart App using React-Native + TypeScript
- Setup react-native environment. read more here
- Clone the repository
git@github.com:ramirezjag00/cart.git
- Install dependencies
cd [project_directory]
&&npm install
- Run project
Needs emulator, install Android Studio
- Open emulator from Android Studio
- Run react-native:
react-native run-android
- Download
Xcode
from app store - Install the pods:
cd [project_directory]/ios && pod install
- Run react-native:
react-native run-ios
reinstall packages, clean android, pod install ios, run in android
rm -rf package-lock.json && npm i && cd android && ./gradlew clean && cd .. && cd ios && pod install && cd .. && react-native run-android
reinstall packages, clean android, pod install ios, run in ios
rm -rf package-lock.json && npm i && cd android && ./gradlew clean && cd .. && cd ios && pod install && cd .. && react-native run-ios