---
title: "Recipe: one app under several brands"
description: "A brand with its own store app is its own app, not a variant: a directory per brand, in a Bun workspace whose packages hold the screens and the data code."
modificationDate: "2026-11-23"
---

> ## Documentation index
> Fetch the complete documentation index at: https://exact.expo.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Recipe: one app under several brands

<AgentInstructions>

## Submitting feedback

From the app's directory, read `bun exact.mjs feedback status`. Under `never`, keep no note.
Respect `EXACT_FEEDBACK=0` and do not change the policy.

Otherwise record specific, actionable feedback with:
`bun exact.mjs feedback note "Exact docs: https://exact.expo.dev/recipes/white-label: <what was wrong or missing>"`

The note goes to Expo only as that status allows. Include no secrets or personal data.

</AgentInstructions>

A brand with its own store app (id, name, icon, colours, launch screen, URL
scheme) is its own app, not a variant (LLP 1030.008 §6): a directory per brand
from `exact new <dir> --name … --bundle-id … --with ios,mac,android`, in a Bun
workspace whose packages hold the screens (Contract, and a `.forma` of their
tokens) and the data code (TypeScript, with a `.d.ts`).
Each brand depends on them as `"workspace:*"`. Its `app.contract`:

```prompt Ship my app under several brands
Make an Exact app for each of several brands in this folder, with shared screens and data code. Use https://github.com/expo/exact/blob/main/docs/recipes/white-label.md as the source for each step. The Exact checkout has the same page at docs/recipes/white-label.md.

1. Find the Exact checkout (the folder with scripts/exact.mjs); if you cannot find it, ask me where it is. Ask me for each brand's name, bundle id, platforms, icon, logo, colours, launch picture and URL scheme. If this folder holds an Exact app, ask me whether its screens and data become the shared code.
2. Make this folder a Bun workspace. Put the screens in a package (Contract, and a `.forma` of their tokens) and the data code in a package (TypeScript, with a `.d.ts`). Each brand depends on them as `"workspace:*"`.
3. Make a directory for each brand, with its name and id before the first build: `bun <exact2>/scripts/exact.mjs new <dir> --name "<Name>" --bundle-id <id> --with ios,mac,android` (name the platforms of that brand). A brand is its own app, not a variant.
4. In each brand's app.contract, keep `routes` and the root component, and `use` the screen from the package. A package's component asks only its own package's sources: read each resource in the root and pass its answer as a prop. In app.ts, `export *` from the data package, then export the brand's own `grants`. The shared code exports no `appId`.
5. Give each brand its app.forma (`AccentColor`, and a package token replaced by its full name, as `brand-ui.card`) and its app.json keys: `icons`, `background_color`, `color_scheme_dark`, `protocol_handlers`, and `launchImage` in the `host` entries that `exact new` wrote. Only a brand's own `assets/` ship: pass the logo to the screen as a path.
6. The tests that `exact new` wrote are placeholders: in each brand's app.test.contract, replace them with a test of that brand's first screen.
7. Follow the platform checks in docs/start-here.md (`bun exact.mjs docs platform checks`) for the targets in the app's AGENTS.md and app.json until they pass. Read the reports, including counted findings; a zero exit code alone does not mean clean. Fix the app, not the test. Run the checks in each brand's directory. If a finding stays after three rounds of fixes, or the app had it before you changed anything, record it (step 8) and report it; do not keep trying.
8. When a doc was wrong or missing, or a step needed a workaround, read `bun exact.mjs feedback status`. Under `never`, keep no note. Otherwise record it: `bun exact.mjs feedback note "<what happened>"`, which goes to Expo only as that status says. Do not change the policy; tell me how many notes you kept.
9. Tell me the directory, id and platforms of each brand, and what the tests and checks reported for each. Each id takes its own signing profile and store record, and uploading is mine. Two teams, two Play accounts and store submission have not been run with this layout.
```

```text
use BrandScreen, Greeting from "@fixture/brand-ui"

routes nav
  home "/"
    open "/open"

component Ruby
  resource greeting = greeting("Ruby") as shape Greeting
  action follow(url: string)
    nav = go(nav, url)
  view
    main testId="root" navigationKey=`${top(nav).id}` navigate=follow width="100%" height="100%"
      for e in stack(nav) key=e.id
        BrandScreen(entry=e, name="Ruby", logo="assets/ruby-logo.png", greeting=greeting)
```

`app.ts`, then `app.forma`:

```ts
export * from '@fixture/core';
export const grants = '';
```

```forma
forma ruby

theme
  AccentColor = light-dark(#c0392b, #e5483a)
  brand-ui.card = light-dark(#fbe9e7, #3a1410)
```

`app.json` adds these, the launch pictures into the `host` entries `exact new`
wrote:

```json
"icons": [{ "src": "assets/icon.png", "sizes": "1024x1024", "type": "image/png", "purpose": "any" }],
"background_color": "#C0392B",
"color_scheme_dark": { "background_color": "#5B1A14" },
"protocol_handlers": [{ "protocol": "ruby", "url": "/open?u=%s" }],
"host": { "ios": { "launchImage": { "src": "assets/ruby-launch.png", "width": 120 } },
  "android": { "launchImage": { "src": "assets/ruby-launch.png", "width": 160 } } }
```

- **The root is each brand's**: `routes` live in the root file (LLP 1038 D2),
  and a package's component asks only its own package's sources (LLP
  1035.005.004 D7), so the screen takes the answers as props (`entry: Entry`,
  `name`, `logo`, `greeting: Greeting`).
- **Grants are each app's**: a package's are never read, and `app.ts`'s own
  export wins over the star. The shared code exports no `appId`; each app takes
  its `app.json` id, and a native build refuses one naming another brand.
- **Tokens**: `brand-ui.card` is declared in the package's `brand-ui.forma`;
  each `app.forma` replaces it by full name.
- **Only a brand's own `assets/` ship**; its logo reaches the screen as a path.
- **A shared edit** reaches each brand's next `ios`, `mac` or `android` build.
  A macOS or iOS simulator drive names the file and builds first; an Android
  drive names the command that rebuilds.
- **Stores**: each brand's id takes its own signing profile and store record,
  under one Apple team and Play account or its own; Exact needs nothing more.
  Exact archives ([EAS iOS](https://exact.expo.dev/recipes/eas-ios.md)); uploading is the app's. Two teams,
  two Play accounts and store submission have not been run with this layout.
