Apps are the new websites, and everyone should be able to create them. By combining Replit’s browser-based development environment with Expo, mobile app creation is now as simple as building a website.Documentation Index
Fetch the complete documentation index at: https://docs.replit.com/llms.txt
Use this file to discover all available pages before exploring further.
This tutorial will guide you through creating a mobile app using Replit and Expo in the Project Editor at replit.com, from setting up your environment to previewing your app on your device.
Part 1: Create a mobile app in five minutes
Learn how to create a native iPhone/Android app using Replit and Expo in just five minutes - perfect for beginners.Getting started with Replit and Expo
Prerequisites
Before getting started, you’ll need:
- A Replit account (free)
- Expo Go app installed on your mobile device
- An Expo EAS account (free)
- An Apple Developer account ($99/year) for iOS
- A Google Play Developer account ($25 one-time) for Android
Remix the Template
Start by visiting the Expo Template on Replit and selecting “Remix” to create your own copy. This creates a complete copy of the Template in your Replit account, including all the files, configurations, and dependencies.
Run the Template
Select the “Run” button in the Project Editor. The Console will display a QR code that links the Expo Go app to your Replit project.
The democratization of mobile development through Replit and Expo makes app creation accessible to everyone, not just professional developers.
Customizing your app with Agent
Choose your AI tool
Use Agent to build your Expo app:
- Build mode: Best for complex features and major changes. The Expo template uses General Agent, which supports any framework.
- Lite mode: Best for smaller changes and code explanations.
- Plan mode: Best for planning and brainstorming.
Use natural language to build your app
Describe what you want your app to do in natural language. For example, you might ask: “Create an app that shows me a random image of a cat every time I press a button.”
Iterate in the Project Editor
Continue developing your native mobile app in the Project Editor at replit.com. Save your changes, then reload Expo Go to preview updates on your phone.
Part 2: Preview your mobile app
Learn how to create an iOS preview build for your Replit Expo app.Create a preview build for your device
While this guide focuses on iOS deployment, the same Replit and Expo steps apply to Android development. For Android, follow the Expo Android deployment guide and Google Play Console process.
Prerequisites
Before creating an iOS preview build, you’ll need:
- Your Replit App from Part 1
- An Apple Developer account ($99/year) for iOS preview builds and App Store submission
- An iPhone (for iOS deployment)
- An Expo account
Initialize EAS
EAS (Expo Application Services) acts as the interface between your build and Expo, as well as the App Store.
- Stop your app if it’s running
- From the dropdown menu in the Project Editor, select “EAS init”
- Log in to your Expo account when prompted
- Create a new project or select an existing one
Run EAS update
This initialization step helps configure your project and link it to your Apple Developer account.
- From the dropdown menu, select “EAS update”
- Wait for the Metro bundler to start and complete the export process
Build for iOS
Now it’s time to create a preview build for your iOS device.
- From the dropdown menu, select “EAS publish preview iOS”
- Enter an iOS bundle identifier (e.g., com.yourname.yourappname)
- Log in to your App Store Connect account when prompted
- Select your individual developer team
- Generate the device distribution certificates when asked
Register your device
To install development apps on your iPhone, you need to register your device.
- When prompted, select “website” to register your device
- Scan the QR code that appears with your iPhone
- Download the development profile when prompted
- Go to Settings on your iPhone
- Select “Profile Downloaded” at the top
- Install the profile and enter your passcode when prompted
- Go back to the Project Editor and press any key to continue
Wait for the build
Expo will now build your app, which takes about 10-15 minutes depending on the complexity of your application.
- The build will be queued
- You can check progress in your Expo dashboard under the “Builds” tab
- Once complete, a new QR code will appear for installing the app
Install the preview build on your device
When the preview build is complete, install it on your iPhone.
- Scan the installation QR code with your iPhone
- Select “Install” when prompted
- The preview build will begin installing on your home screen
What you’ve accomplished
By following this tutorial, you now have an iOS preview build installed on your device for development testing. Most developers would need days or weeks to achieve this, but you’ve done it in about an hour.Next steps
Next steps
After completing this tutorial, you can:
- Continue refining your app with more features
- Add authentication and data storage
- Implement native device features like camera or location
- Submit your app to the App Store for public distribution
- Create an Android version using similar steps
Common issues and solutions
App won't connect to Expo Go
App won't connect to Expo Go
- Ensure your phone and computer are on the same Wi-Fi network
- Try using “Tunnel” connection mode instead of “LAN”
- Check if your firewall is blocking connections
- See Expo’s troubleshooting guide
Changes not reflecting in app
Changes not reflecting in app
- Try reloading the app (shake device and select “Reload”)
- Ensure you’ve saved your changes in the Project Editor
- Check the Console for any errors
- Review Expo’s development mode documentation
Build fails on EAS
Build fails on EAS
- Verify your app.json configuration
- Check if all dependencies are compatible
- Ensure you have the correct permissions set up
- Review any error messages in the build logs
- See EAS Build troubleshooting
Conclusion
With Replit and Expo, building mobile apps has never been easier or faster. You can go from idea to a working native mobile preview in a matter of hours, not weeks or months. The combination of browser-based development and a cross-platform mobile framework removes traditional barriers to entry for mobile development.For more detailed information, check out: