Liftbay

Concepts

Organizations, projects, environments, profiles, channels and releases.

Organizations and projects

An organization holds members, API tokens, billing and the GitHub and Apple connections. A project is one app (for example "Liftbay"), with an iOS bundle identifier, an Android package and a GitHub repository.

Members have a role: owner, admin, developer or viewer. Each API operation lists the permission it needs.

Environments

Each project has environments, usually development, preview and production. An environment holds the variables a build gets. See Environments and secrets.

Build profiles

Profiles live in liftbay.json in your repo and tie a build to an environment, an update channel and a distribution:

liftbay.json
{
  "org": "acme",
  "project": "liftbay",
  "build": {
    "profiles": {
      "preview": { "environment": "preview", "channel": "preview", "distribution": "internal", "platforms": ["ios", "android"] },
      "production": { "environment": "production", "channel": "production", "distribution": "store", "platforms": ["ios", "android"] }
    }
  }
}
DistributionAndroidiOS
storeSigned release .aabSigned .ipa for TestFlight and the App Store
internalSigned release .apkAd hoc .ipa for registered devices
simulatorDebug .apkSimulator .app

Channels and releases

A channel (for example production) is what a built app asks for updates. Each channel is bound to an environment and serves one or more update protocols. Publishing creates a release on a channel; the newest one is active until you publish again or roll it back.

Runtime versions

An update only reaches binaries with the same runtime version, so new JavaScript never lands on a binary with incompatible native code. liftbay ota init sets the policy: appVersion (bump the version when native code changes) or fingerprint (computed from your native code and config).

On this page