Migrate from expo-updates
Healkite replaces expo-updates and EAS Update. Use one OTA system per app.
Steps
- Remove
expo-updates:npm uninstall expo-updatesand delete theupdatesandruntimeVersionpolicy settings you no longer need fromapp.json. - Add the Healkite plugin (Expo) and rebuild with
npx expo prebuildor EAS Build. - Replace
Updates.checkForUpdateAsync()/fetchUpdateAsync()/reloadAsync()with oneHealkite.sync()after your first screen. - Replace
eas update --branch productionin CI withhealkite releaseor the GitHub Action.
| expo-updates / EAS Update | Healkite |
|---|---|
| Branch / channel | Channel |
runtimeVersion | Runtime version (runtimeVersion plugin option, default app version) |
eas update | healkite release |
eas update:rollback | healkite rollback |
Updates.useUpdates() | getState(), checkForUpdate() |
Builds that still have expo-updates keep receiving EAS updates until they age out; new builds only talk to
Healkite.