Over-the-air updates
Ship JavaScript and asset changes without a store review.
An over-the-air (OTA) update replaces your app's JavaScript bundle and assets on devices. Native code changes still need a new build.
Liftbay keeps one release per publish and serves it over three protocols, so it works with the update library your app already uses:
| Client | Protocol |
|---|---|
expo-updates | Expo Updates protocol, with the @liftbay/expo-plugin config plugin |
| CodePush | CodePush update check and status reports |
| hot-updater | hot-updater 1.x release catalogs, and 0.x update checks |
How devices get updates
A built app knows its channel (for example production) and its runtime version. When it checks for updates, Liftbay returns the newest active release on that channel for that runtime version and platform, if the device falls inside the release's rollout percentage.
Set up
npx liftbay ota initFor an Expo app, this installs expo-updates and the Liftbay config plugin, creates a channel per build profile bound to the profile's environment, and sets the runtime version policy in app.json. For CodePush and hot-updater apps it creates the channels and shows the values to add to your app (client setup). Then build once: the update URL and channel are part of the binary.