This is an Expo project created with create-expo-app.
-
Install dependencies
npm install
-
Start the app
npx expo start
In the output, you'll find options to open the app in a
- development build
- Android emulator
- iOS simulator
- Expo Go, a limited sandbox for trying out app development with Expo
Expo Go is the easiest way to test your app locally on a physical device without setting up a full development environment.
-
Install Expo Go on your device
- Download from the App Store for iOS
- Download from the Google Play Store for Android
-
Start your development server
npx expo start
-
Connect your device to the same network as your development machine (Wi-Fi or Ethernet)
-
Scan the QR code displayed in the terminal after running
npx expo start- Open Expo Go app on your device
- Tap "Scan QR Code" and point your camera at the QR code in the terminal
-
Alternative connection methods:
- Manual URL entry: Type the URL shown in the terminal (e.g.,
exp://192.168.1.100:8081) into Expo Go's search bar - Email/SMS: Use the
eorskeys in the terminal to send a link to your device
- Manual URL entry: Type the URL shown in the terminal (e.g.,
-
Live reloading: Any changes you make to the code will automatically reload in the Expo Go app
Expo Go has some limitations compared to development builds:
- Cannot use custom native modules
- Limited to the modules included in the Expo Go app
- Some advanced features may not be available
For production testing or apps requiring custom native code, consider using development builds instead.
You can start developing by editing the files inside the app directory. This project uses file-based routing.
When you're ready, run:
npm run reset-projectThis command will move the starter code to the app-example directory and create a blank app directory where you can start developing.
To learn more about developing your project with Expo, look at the following resources:
- Expo documentation: Learn fundamentals, or go into advanced topics with our guides.
- Learn Expo tutorial: Follow a step-by-step tutorial where you'll create a project that runs on Android, iOS, and the web.
Join our community of developers creating universal apps.
- Expo on GitHub: View our open source platform and contribute.
- Discord community: Chat with Expo users and ask questions.