Over-the-air updates
Over-the-Air (OTA) Updates Documentation
Over-the-Air (OTA) updates allow you to push updates to your app without requiring users to download a new version from the app store. This is a powerful feature that enables rapid iteration and fixes.
This documentation will guide you through configuring OTA updates in your project._createMdxContent
Prerequisites
Before configuring OTA updates, ensure your project set up and configured with EAS :
EAS configuration
Expo starter comes with 2 channel: preview
and production
.
Channel | Environment Variable | Auto Increment | Distribution | Android Build Type | iOS Simulator | OTA Update Channel |
---|---|---|---|---|---|---|
preview | APP_VARIANT=preview | Yes | Store | Not specified | Not specified | preview |
production | APP_VARIANT=production | Yes | Store | app-bundle | Not specified | production |
Push an OTA Update
-
Make Changes to Your App: Modify your codebase as needed.
-
Publish the Update: Run the following command to publish your changes to the relevant channel (e.g., production, preview):
Managing Update Channels
Using channels allows you to manage which users receive updates. For instance, you can use the preview channel for testing new features internally before pushing them to the production channel for all users.