System design: deploying 10,000 white-label apps a month
Video

Shipping one mobile app from a single codebase is straightforward compared with shipping that app for thousands of customers. Each customer needs their own branding, store configuration, signing setup, and updates.
Here's how I'd design a system for 10,000 white-label app deployments per month, including new apps and updates, with a goal of completing a deployment or update batch within 48 hours. I'd build the shared native layer once, then fan out the work that changes for each tenant.
Here's my system design diagram. Click it to see it full size.
Start with the requirements
I'm designing for these requirements:
- 10,000 deployments a month across new apps and updates.
- A name, icon, splash screen, and other assets for each tenant.
- Apple Pay and push notifications.
- A deployment and update pipeline that finishes within 48 hours.
- Publishing each iOS app under its tenant's developer account.
I use React Native for this example. It gives the team a shared codebase for iOS and Android, plus a JavaScript bundle that can be separated from the native build. This design sends binaries to the stores; over-the-air updates are a separate path.
My 48-hour window is a design target for processing and uploading the apps. It doesn't establish how long a store will take to review and approve them.
Model tenants, apps, and deployments
Start with a tenant record containing a name and an ID. Give its mobile app separate iOS and Android configuration, including the store account and signing details needed for each platform.
Record each deployment too. A single-app deployment needs a tenant ID and a source revision. A batch update needs a list of mobile app IDs and the revision they should all receive. A release record can group those deployments under a version.
I'd use two entry points from an internal tool:
| Endpoint | Inputs | Purpose |
|---|---|---|
POST /deploy |
Tenant ID and source revision | Deploy an individual tenant's app. |
POST /update |
Mobile app IDs and source revision | Update a group of apps to the same code version. |
A Git branch can identify the code to deploy, but resolve it to a commit SHA when the job starts. That gives every app in the batch a fixed source revision even if the branch moves.
Build the first app from source to store
For an individual deployment, the pipeline checks out the source revision, applies the tenant's name and assets, builds the platform binaries, and signs them for the right accounts. I assume both iOS and Android ship together here; a platform input could split that work when needed.
Store the resulting binaries in S3, organized by app and version, then hand them to an upload service. Fastlane can help with building, signing, metadata, and store uploads. Keeping the upload step separate gives the system a clear handoff between producing a binary and delivering it to a store.
There's account setup before the first upload, too. I'd use an app manager: an Apple account invited into the tenant's developer team. I'd have that account create the app entity through Fastlane, then use the App Store Connect API key for subsequent API work.
On Android, the upload service needs a Google service account with access to the intended Google Play developer account. Keep the account choice in the app's configuration so the pipeline can select the right destination and credentials.
Separate shared builds from tenant updates
A full build for every tenant becomes expensive quickly. At an assumed 30 minutes per build, updating 10,000 apps takes 300,000 build minutes, or about 208 days on one worker. Even 20 workers would need more than 10 days if every build ran perfectly.
The update pipeline takes advantage of three parts of a React Native app:
- The native layer: the shared platform code and native dependencies.
- Tenant customization: the app's branding and configuration.
- The JavaScript bundle: the application code packaged for that tenant.
Instead of repeating a full native build for every customer, I'd structure the pipeline like this:
- Build the shared iOS native layer on a Mac and store the artifact in S3.
- Fan out a job for each tenant.
- Apply the tenant's supported customizations and replace the JavaScript bundle.
- Sign the app with that tenant's certificate, provisioning profile, and entitlements.
- Send the signed binary to the upload service.
The shared native artifact must be compatible with each app that uses it. A change that needs compiled native code or resources rebuilt needs another native build. Replacing the JavaScript bundle alone doesn't cover every possible tenant difference.
Move repeat work to Linux
I'd keep Xcode's native build on a Mac. My goal is to move the work repeated thousands of times onto Linux workers, where the system can scale the tenant jobs separately from the Mac build pool.
I'd use rcodesign, a cross-platform Apple signing tool, for the iOS signing step on Linux. That path still needs the correct signing identity, provisioning profile, and entitlements for each tenant. Android building and signing can also run on Linux.
This changes the shape of the workload: a shared native build followed by many smaller customization, signing, and upload jobs. To illustrate the potential saving, I assume a 10-minute native build and two-minute tenant jobs. I'm using planning assumptions here; actual throughput needs to be measured with your own app.
Make account setup safe to repeat
Apple Pay and push notifications add work before a binary is ready to ship. Bundle IDs, capabilities, provisioning profiles, certificates, and service configuration need to agree with the app being signed. Android push setup may also need Firebase configuration.
Put that work in a setup step that is idempotent: running it again should reuse what is already correct and change only what needs updating. A retry should be able to continue without creating a second app or duplicating setup work.
Some account tasks still need a person. Give the onboarding team a clear checklist, record what is waiting on the customer, and resume the pipeline once the required access or configuration is in place. My developer account onboarding guide covers that handoff in the dashboard.
Track failures as well as successful uploads
I've kept orchestration, retries, monitoring, and store rejections out of this diagram. I'd include those pieces in a production implementation to make the pipeline manageable.
Track each app through setup, build, customization, signing, and upload. Make it possible to see which step failed and why, retry work safely, and notify the right team when an account needs attention or a store rejects an app.
The main scaling decision comes before adding more workers: identify which work is shared across the release and which work belongs to each tenant. Build the shared part once, then give each tenant's remaining work its own tracked path to the stores.