Team onboarding
Choose the one Expo Lynx workflow your team owns.
Do not give every developer the entire delivery setup. Expo Lynx has four small workflows:
| Start here | You own | Continue with |
|---|---|---|
| Mobile app | Render managed Lynx features in the Expo host | Mobile app integration |
| Mobile CLI | Embed baselines and register native host runtimes | Mobile CLI |
| Mini-app CLI | Build and upload an independent Lynx release | Mini-app CLI |
| Worker / Console | Provision Cloudflare and select deployments | Worker and Console |
Commands below use Yarn. With pnpm, replace yarn lynx with pnpm exec lynx.
How the pieces connect
Section titled “How the pieces connect”Worker / Console creates IDs and deployment scopes ↓Mobile CLI embeds + registers the host runtime ↓Mobile app ships the embedded fallback ↓Mini-app CLI uploads one platform-neutral ZIP ↓Console selects/enables that ZIP for a platform + runtimeThe release ZIP is shared by iOS and Android. Distribution is scoped by
(appId, feature, platform, runtimeVersion), so Active always means active
for the platform/runtime currently selected in Console—not globally active.
Credential boundaries
Section titled “Credential boundaries”| Team | Give them | Keep away from them |
|---|---|---|
| Mobile app / Mobile CLI | LYNX_DELIVERY_SERVER, LYNX_DELIVERY_API_KEY, mobile public key |
R2 secret, signing private key, Console password |
| Mini-app CLI | Worker URL/API key plus bucket-scoped R2 S3 credentials | Signing private key, Console password |
| Worker / Console operator | Cloudflare access, Console password, signing key | Nothing outside the operator team |
Keep all values in an ignored .env.lynx or your secret manager. Never commit
the file or .local-lynx-keys/updates.private.pem.
First end-to-end check
Section titled “First end-to-end check”- The Worker/Console operator creates the host app and mini-app IDs.
- The Mobile CLI team runs
host embedandhost prepare --register. - The Mobile team builds and installs the host app.
- The Mini-app CLI team runs
release --draft, thenrelease. - The operator selects the exact platform/runtime, chooses the bundle, and enables it.
- The device reports
checking→pending; reopen the mini app when force is off, or expectreloadedwhen force is on.
If a device reports no-update with revision 1, its platform/runtime has no
matching deployment. Compare the runtime in the host’s embedded
registry.json with the Console scope before debugging R2.
