Prerequisites
Before you begin, ensure you have the following installed:- Node.js v22+ - Required for running the project
- npm or yarn - Package manager
- Git - Version control
- Expo CLI - Built into the project dependencies
Open Mushaf Native uses Expo SDK 54 and React Native 0.81.5
Platform-Specific Requirements
- Android
- iOS
- Web
- Android Studio
- Android SDK
- Android Emulator or physical device
Installation
Running the App
Development Server
Platform-Specific Commands
- Web
- Android
- iOS
localhost:8081Advanced Development Options
Clear Cache
If you encounter unexpected behavior, clear the cache:Production Mode
Test the app in production mode locally:Bundle Analysis
Analyze your bundle size with Expo Atlas:React Scan
Monitor component re-renders in development:Prebuild
Generate native Android and iOS directories:Troubleshooting
Run Expo Doctor
Diagnose common issues with your Expo setup:React Compiler Health Check
Verify React Compiler compatibility:Common Issues
Port already in use
Port already in use
If port 8081 is already in use, Expo will automatically select another port, or you can manually specify one:
Metro bundler cache issues
Metro bundler cache issues
Clear the cache and restart:
Native module linking errors
Native module linking errors
Rebuild the native directories:
Next Steps
Once your environment is set up:- Read the Contributing Guidelines
- Learn about Testing
- Start contributing to the project