This is a test project for Qualgo.
- Clone the repository
git clone https://github.com/qdung/QualgoTest.git- Navigate to project directory
cd QualgoTest- Install dependencies
yarn- Install CocoaPods if you haven't already:
sudo gem install cocoapods- Navigate to the iOS directory and install pods:
cd ios
pod install- Run iOS app:
yarn iosOptional: To run on a specific iOS simulator or device, you can modify package.json:
{
"scripts": {
"ios": "react-native run-ios",
"ios:14": "react-native run-ios --simulator='iPhone 14' -configuration Debug",
"ios:14pro": "react-native run-ios --simulator='iPhone 14 Pro' -configuration Debug"
}
}Then run using:
yarn ios:14 # For iPhone 14
yarn ios:14pro # For iPhone 14 Pro-
Ensure you have Android Studio and SDK installed
-
Add local.properties in android folder (specify your SDK path):
# For macOS
sdk.dir = /Users/USERNAME/Library/Android/sdk
# For Windows
sdk.dir = C:\\Users\\USERNAME\\AppData\\Local\\Android\\Sdk- Build the Android project:
cd android
./gradlew clean- Run Android app:
yarn android