Before building and running the project, ensure you have the following installed:
- Node.js (Recommended: v18 or later)
- Expo CLI
Install with:npm install -g expo-cli
- A package manager (like
npmoryarn) - Git
- An emulator (Android Studio or Xcode), or a physical device with the Expo Go app
-
Clone the repository:
git clone https://github.com/your-username/your-repo-name.git cd your-repo-name -
Install dependencies:
npm install # or yarn install
To start the development server, run:
npm start
# or
yarn startThis will open the Expo Developer Tools in your browser.
- Download Expo Go from the App Store (iOS) or Google Play (Android).
- Scan the QR code shown in the terminal or in Expo Developer Tools.
-
Start your emulator (Android Studio or Xcode Simulator).
-
Run:
npm run android # for Android npm run ios # for iOS (Mac only, requires Xcode)
To create a production build (for submission to app stores), use:
npx expo prebuild # Only if switching from managed to bare workflow
npx expo buildOr use EAS Build:
npx eas build --platform ios
npx eas build --platform android
⚠️ Note: EAS Build requires linking your project to an Expo account. Runnpx expo loginif needed.