Preview: Over-the-Air PR Previews for Expo
Creator and maintainer
An open-source package that gives every branch of an Expo or React Native app its own preview, for the testers, designers and developers working on it. One command, or a pull request in CI, publishes the branch to the team's own S3-compatible storage (Amazon S3, Cloudflare R2 or MinIO). Testers then open a list inside the app they already have installed, download a preview and switch to it after a restart, with no new build. Each preview only shows on the builds it was made for, and one that fails to start falls back to the app's own version. I created it and built all of it: the command-line tool, the config plugin, the in-app list and hooks, and the native iOS and Android module that loads the chosen preview.


A preview for every branch, from one command
One command builds the current branch and publishes it as a preview to your own storage, ready for testers' phones.
- Publish the current branch for Android, iOS or both, with a title testers see and a changelog taken from the commits or written by you
- Keep previews in your own S3-compatible storage, such as Amazon S3, Cloudflare R2 or MinIO, with one bucket serving several apps
- The build runs in a temporary copy of the project with a clean install and your EAS build hooks, so your working folder is left alone
- Works with npm, pnpm, Yarn, Bun and nub; uploads run in parallel and pick up again when the connection drops
- Take a preview off every build's list, clear out files no preview uses, or try it all locally on a MinIO the package starts for you

Every pull request becomes a preview
Ready-made GitHub Actions workflows publish a preview when a pull request opens or changes, and take it down when it closes.
- Copy a sample workflow for npm, pnpm, Yarn or Bun into the app's repository
- A preview is published when a pull request opens or gets new commits, and removed when it closes, merged or not
- Publish any branch, or remove a preview, by hand from the Actions tab
- Build with an EAS environment's variables, and testers see which environment each preview was built with
- Where to publish comes from CI secrets, so the write key never sits in the code

Testers switch versions inside the app, no rebuild
A ready-made list inside the app shows every preview made for this build and switches to one after a restart.
- Download, switch to, update or delete a preview, and go back to the app's own version in one tap
- Each preview shows its branch, environment, changelog, author, age and size, and flags when a newer version is published
- A card at the top says what's running and where it came from, with the details a bug report needs
- In debug builds, switch to a teammate's running dev server found on the same Wi-Fi, or add one by its address
- Drop in the list with your own theme and labels, build your own screen on its hooks, or open it as a tab in AxonPack Expo DevTools

Only previews this build can run
Each preview is matched to the native build it was made for, so testers never load one their app can't run.
- Match previews to builds by app version or by native fingerprint, set once in the config plugin
- Downloads made for another native build are grouped as incompatible, with one Delete all
- A preview that stops while starting is marked broken, and the app's own version loads instead
- Works alongside expo-updates and expo-dev-client
Notable contributions
- Built the preview CLI: publish, unpublish, prune and start, with settings read from the shell, CI secrets or the app's env files
- Built EAS-style builds in a temporary copy of the project, with a frozen install and the EAS build hooks, across npm, pnpm, Yarn, Bun and nub
- Built uploads to any S3-compatible bucket, in parallel with retries and progress, plus a local MinIO for trying it out
- Built the config plugin that writes the build's compatibility key into the native app, so each build sees only its own previews
- Built the in-app preview list and the hooks behind it, with theming, custom labels and AxonPack Expo DevTools support
- Built the native iOS (Swift) and Android (Kotlin) module that loads the chosen preview and falls back to the built-in bundle when one crashes on start
- Built discovery of teammates' dev servers on the same Wi-Fi for debug builds
- Built the GitHub Actions samples, the example app and the docs, with releases shipped through Changesets
Those are the highlights. There's plenty more I've worked on across this project, big and small, and I'm still building on it.