expo-updates-custom
v0.1.0
Published
CLI for configuring and publishing custom Expo OTA updates
Readme
expo-updates-custom
CLI to configure and publish OTA updates to a custom Expo updates server.
Please note this is a selfhosted Expo update solutions, you need to have the server up and running. For more details, visit the Github repo
Commands
Install:
npm install expo-updates-custom- or
yarn add expo-updates-custom
npx expo-updates-custom init- Prompts for server domain, slug, channel, and upload token
- Updates
app.jsonunderexpo.updates - Sets
expo.updates.codeSigningCertificateto./node_modules/expo-updates-custom/code-signing/certificate.pem - Removes
expo.extra.eas(if present) - Stores push token at
expo.extra.expoUpdatesCustom.pushToken - Prints applied changes and reminds you to run
npx expo prebuild
npx expo-updates-custom push- Runs
npx expo export - Writes
dist/expoConfig.json - Zips the export
- Uploads update zip to iOS and Android upload endpoints
- Uses token/channel from
app.json
- Runs
npx expo-updates-custom codesign- Generates
code-signing/private-key.pemandcode-signing/certificate.pemin your app repo - Copy
private-key.peminto your server repo and setPRIVATE_KEY_PATHthere
- Generates
