This guide focuses on running a project on your device. To learn about sharing your project with others, see 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.
Download Expo Go from the Google Play Store or the Apple App Store.
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.
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.
-
npx expo start --tunnel
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.
Expo Go is for quick experimentation, when it's time to build an app you can create development builds (for example, to add custom native code), the process for loading the project remains mostly the same but the mechanism to get the build on your device is different. Development builds can be created locally with npx expo run:[ios|android] --device
, with Xcode or Android Studio, or remotely with EAS Build.
Refer to the Getting Started guide for development builds to learn how to create and run it on your device.
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.