# Concepts (/docs/concepts)



## Organizations and projects [#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 [#environments]

Each project has environments, usually `development`, `preview` and `production`. An environment holds the variables a build gets. See [Environments and secrets](/docs/environments).

## Build profiles [#build-profiles]

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

```json title="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"] }
    }
  }
}
```

| Distribution | Android               | iOS                                                                        |
| ------------ | --------------------- | -------------------------------------------------------------------------- |
| `store`      | Signed release `.aab` | Signed `.ipa` for TestFlight and the App Store                             |
| `internal`   | Signed release `.apk` | Ad hoc `.ipa` for [registered devices](/docs/builds/internal-distribution) |
| `simulator`  | Debug `.apk`          | Simulator `.app`                                                           |

## Channels and releases [#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 [#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).
