Guides
Plan-enterprise-icon
Expo Application Services
API Reference

Running on device

Info-icon
This guide focuses on running a project on your own device. To learn about sharing your project with others, refer to "Sharing pre-release versions of your app" and "Distribution".
You will approach running your project on your device differently depending on how you are using Expo tools. There are three main approaches: you can use Expo Go, a development build, or you can run your project as a standalone app.

Running a project in Expo Go

  • On your iPhone or iPad, open the default Apple "Camera" app and scan the QR code you see in the terminal.
  • On your Android device, press "Scan QR Code" on the "Home" tab of the Expo Go app and scan the QR code you see in the terminal.
You can open the project on multiple devices simultaneously. Go ahead and try it on an iPhone and Android phone at the same time if you have both handy.
Triangle-down-icon
Is the app not loading on your device?
First, make sure you are on the same Wi-Fi network on your computer and your device.
If it still doesn't work, it may be due to the router configuration — this is common for public networks. You can work around this by choosing the "Tunnel" connection type when starting the development server, then scanning the QR code again.
Terminal
→ npx expo start --tunnel
Info-icon
Using the "Tunnel" connection type will make app reloads considerably slower than on "LAN" or "Local", so it's best to avoid tunnel when possible. You may want to install a simulator/emulator to speed up development if "Tunnel" is required for accessing your machine from another device on your network.

Running a project with a development build

Refer to the Getting Started guide for development builds to learn how to create and run it on your device.

Running a project as a standalone app

Both Expo Go and development builds include a user interface that is convenient for development, but that you would not use in a production release of your app. You can create standalone builds in the same way as development builds — locally with npx expo run:[ios|android] --device, with Xcode or Android Studio, or remotely with EAS Build. If you have expo-dev-client installed in your project, you will need to build the "Release" configuration/variant (--configuration Release for iOS and --variant release for Android).
You may choose to install directly to your device (the --device flag with npx expo run:[ios|android], or by selecting it in an IDE) or to use internal distribution, or TestFlight / Google Play.
  • Message-iconAsk a question on the forums
  • Edit-iconEdit this page

Was this doc helpful?