Using Bolt with Expo to create mobile apps and deploy them to app stores.
If you’re new to mobile development and Expo, start with the Overview to understand the benefits of Expo, then skip to New to Expo for a brief introduction to key concepts.
Expo is a platform that lets you build mobile apps for both iPhone and Android using the same code. When you ask Bolt to create a mobile app, it automatically uses Expo to make your app work on multiple platforms.Bolt’s Expo integration aims to:
Make mobile app development accessible to everyone, regardless of coding experience.
Provide a seamless path from idea to app store, handling the complex technical setup for you.
Give you complete control over your app’s deployment and distribution.
You can deploy to:
The web.
iOS: TestFlight (for testing) and the Apple App Store (for public access).
Android: Google Play Beta (for testing) and Google Play Store (for public access).
You need to build and deploy your app in order to:
Thoroughly test it, including making it available for other people to test.
Make it available to the public on app stores.
The instructions below will help you get your app from Bolt to your users’ phones. If you prefer learning by watching, check out this tutorial. Note that it assumes you already have Expo installed and set up.
You can test your app for free using Expo’s development tools. You’ll need paid developer accounts for Apple and Google if you want to distribute your app through the official app stores.
After building your app with Bolt, download the code and open it in a code editor such as VS Code.Install the EAS CLI (Expo’s command-line tool) by opening a terminal and running:
Copy
Ask AI
npm install -g eas-cli
Log in to your Expo account:
Copy
Ask AI
eas login
Navigate to your project folder and install dependencies:
Copy
Ask AI
npm install
Check that everything is set up correctly:
Copy
Ask AI
npx expo-doctor
This command will identify and help you fix any setup issues.
If you want users to pay for some of your app features, you need to add subscription and payment functionality.RevenueCat is a tool to power in-app purchases. They’ve provided a guide to adding RevenueCat to a Bolt Android app: How to add subscriptions to a Bolt-generated Expo app. You can also use RevenueCat in iOS apps.
Build fails: Check that all required certificates are set up in your Apple and Google Developer accounts. EAS can guide you through certificate setup.App crashes on device: Check the error logs in your Expo dashboard. Most crashes are due to missing dependencies or platform-specific code issues.Upload rejected: Make sure your app meets platform requirements (App Store guidelines for iOS, Google Play policies for Android).
If you’re completely new to mobile app development, here’s what you need to know to use Expo with Bolt.Expo is a platform that simplifies mobile app development by handling the complex technical setup for you. Instead of learning platform-specific languages (Swift for iPhone, Kotlin for Android), you can build apps that work on both platforms using web technologies.Benefits of using Expo:
Cross-platform: write once, run on iPhone, Android, and web.
Fast iteration: see changes immediately without rebuilding.
Simplified deployment: EAS handles the complex build and submission process.
Key terms:
Build: Creating the app file that can be installed on devices
TestFlight: Apple’s system for testing iPhone apps before they go live
Play Console: Google’s system for managing Android apps
EAS Expo Application Services. This is the Expo cloud platform that builds and manages your apps.