Quick start
From sign-up to your first over-the-air update. You need an app that already uses expo-updates (any Expo app, or a bare React Native app with expo-updates installed).
1. Create your team and app
Start a free trial. The trial runs 7 days, needs no card and covers up to 3 apps. In the dashboard, add your app. Each app gets an id like app_k3m9x2p7qa; iOS and Android share one app.
2. Create an API key
Go to API keys and create one. Copy it; it's shown once. Keep it out of your repo:
export PATCHBAY_TOKEN=pb_…
3. Point your app at Patchbay
In app.config.ts (or app.json):
export default {
// …
updates: {
url: 'https://patchbay.sozenz.com/v1/apps/<app id>/manifest',
requestHeaders: { 'expo-channel-name': 'production' },
},
runtimeVersion: { policy: 'appVersion' },
};
Then make a new store build and release it. Only builds with this config look for updates on Patchbay. See Configure your app for bare React Native and EAS Build.
4. Publish an update
From your project root:
npx patchbay-cli publish --app <app id> --channel production --message "Fix booking crash"
The CLI exports your bundle for iOS and Android, uploads new files and makes the release live. It shows up on your app's page in the dashboard straight away.
5. Check it on a device
Open the store build, close it fully, then open it again. expo-updates downloads the update on the first launch and runs it on the next. To roll it back, use Roll back on the app's page.
'expo-channel-name': 'staging', publish with --channel staging, and check it before publishing to production.