A React Native mobile application demonstrating various UI interactions and gestures.
- Carousel: Horizontal scrolling carousel with paging
- Login Screen: User authentication interface
- Samples List: Navigable list of UI samples
- Drag and Drop: Interactive drag and drop functionality
- Double Tap: Double tap gesture detection
- Long Press: Long press gesture handling
- Vertical Swipe: Vertical swipe interactions
- Slider: Value adjustment with slider control
- Wheel Picker: iOS-style picker wheel selection
- Photo Viewer: Zoomable image viewing
- WebView: In-app web content display
- Native Views: Platform-specific native components
- macOS with Xcode 14 or later
- CocoaPods installed (
gem install cocoapods) - iOS Simulator or physical iOS device
- Ruby 2.7 or later
- Android Studio with Android SDK
- Android SDK Platform 33 or later
- Java JDK 17 or later
- Android emulator or physical Android device
- Node.js 18 or later
- npm or yarn package manager
-
Clone the repository
git clone <repository-url> cd VodQAReactNative
-
Install dependencies
npm install
-
iOS Setup
cd ios pod install cd ..
-
Android Setup
- Open Android Studio
- Configure Android SDK if not already set up
- Ensure ANDROID_HOME environment variable is set
npm run iosOr specify a device:
npm run ios -- --simulator="iPhone 15"npm run androidOr specify a device:
npm run android -- --deviceId=<device-id>Start the Metro bundler separately:
npm startnpm run ios- Run on iOS simulator/devicenpm run android- Run on Android emulator/devicenpm start- Start Metro bundlernpm test- Run testsnpm run lint- Lint code
- Clean build folder:
cd ios && xcodebuild clean && cd .. - Reinstall pods:
cd ios && pod deintegrate && pod install && cd .. - Reset Metro cache:
npm start -- --reset-cache
- Clean Gradle cache:
cd android && ./gradlew clean && cd .. - Reset Metro cache:
npm start -- --reset-cache - Check ANDROID_HOME is set:
echo $ANDROID_HOME
- Clear watchman:
watchman watch-del-all - Reset Metro cache:
npm start -- --reset-cache - Clear node modules:
rm -rf node_modules && npm install
See LICENSE file for details.