Quickstart
From an existing app to a signed build and an over-the-air update.
You need an Expo or bare React Native app in a GitHub repository, and Node.js 18.18 or newer.
Sign in
npx liftbay loginSign in in the browser, or with a code sent to your email, right in the terminal. New to Liftbay? Your account is created when you sign in for the first time. You can also skip this step: liftbay init signs you in when needed. In CI, set LIFTBAY_TOKEN to an organization API token instead.
Set up your app
Run this in your app's folder:
npx liftbay initIt walks you through:
- creating your organization if this is a new account,
- linking the app to a Liftbay project (created if needed),
- build profiles
development,previewandproductioninliftbay.json, with an environment for each, - the build workflow, written to
.github/workflows/liftbay.yml, - over-the-air updates:
expo-updates, the@liftbay/expo-pluginconfig plugin and a channel per profile.
If the app has an eas.json, its build profiles and their env are imported too. Add any other variables your app needs, for example from your .env files:
npx liftbay env import .env.production .env.previewAt the end, init checks GitHub. If the Liftbay GitHub App isn't installed for your repository, it opens the install page and follows along until it's linked.
The first liftbay build offers to commit the setup (liftbay.json, app.json, the workflow) and push your branch. The workflow doesn't have to be on your default branch: you can try Liftbay on a branch of its own.
Connect GitHub
In the dashboard, open GitHub and click Connect a GitHub account. Install the Liftbay app on the account that owns the repo, choosing just that repository if you like.
If you didn't push the workflow yourself, open the project's Settings and click Propose workflow: Liftbay opens a pull request that adds it. Merge it into every branch you want to build.
Build
npx liftbay build --platform android --profile previewThe CLI queues the build, Liftbay starts the workflow on your GitHub Actions, and the logs stream to your terminal and the dashboard. The first Android build generates your upload key.
Sign iOS builds
npx liftbay credentials iosSign in with your Apple ID (two-factor code included). Liftbay creates the distribution certificate and a profile for the app and each extension. Until then, iOS builds are simulator builds. See iOS signing.
Ship an update
Install a build that includes expo-updates, change some JavaScript, then:
npx liftbay update publish --channel productionDevices on that channel and runtime version get it on their next launch. Roll it out gradually or roll it back with one command.