RORK LABJP
ACQUISITION — Rork makes its first acquisition, buying Paperline, a macOS app that generates native Swift apps with AIFUNDING — The $15M seed led by Left Lane Capital backs Rork's push to redefine how mobile apps are built and monetizedGROWTH — Rork Max reportedly hit $1.5M ARR within three days of launch and doubled annual revenue in two weeksENGINE — Rork Max runs on Claude Code and Claude Opus 4.6, the first web Swift builder aiming to replace XcodeSPLIT — Standard Rork uses React Native (Expo); Rork Max generates native Swift across the whole Apple ecosystemPRICING — Start free; paid plans begin at $25/month, with Rork Max at $200/monthACQUISITION — Rork makes its first acquisition, buying Paperline, a macOS app that generates native Swift apps with AIFUNDING — The $15M seed led by Left Lane Capital backs Rork's push to redefine how mobile apps are built and monetizedGROWTH — Rork Max reportedly hit $1.5M ARR within three days of launch and doubled annual revenue in two weeksENGINE — Rork Max runs on Claude Code and Claude Opus 4.6, the first web Swift builder aiming to replace XcodeSPLIT — Standard Rork uses React Native (Expo); Rork Max generates native Swift across the whole Apple ecosystemPRICING — Start free; paid plans begin at $25/month, with Rork Max at $200/month
Articles/App Dev
App Dev/2026-06-25Advanced

Three Builds on One iPhone: Environment Separation for Rork (Expo) Apps

Split a Rork-generated Expo app into dev, staging, and production builds that live side by side on one device. A hands-on walkthrough of dynamic app.config.ts, eas.json profiles, and isolating notifications, analytics, and billing per environment.

Rork448Expo102EAS6environmentsapp variant

Premium Article

One morning I tried a pre-release fix by installing a test build on my own iPhone, and the icon for the app I use every day quietly disappeared. The bundle ID was identical, so the test build overwrote my production install. Re-login, restoring purchases, re-granting notification permission. I lost maybe ten minutes, but the constraint that followed — "I can't casually test on my daily-driver phone" — kept shaving away at my development speed.

As an indie developer running several apps in parallel, that friction maps directly onto productivity. This article lays out an environment-separation setup that splits a Rork-generated Expo app into dev, staging, and production builds that coexist on the same device, based on the exact configuration I run across my own wallpaper apps at Dolice.

The setup at a glance

Before the concrete config, it helps to see that there are only three things to do.

  1. Make `app.config.ts` dynamic via `APP_VARIANT`, giving each environment its own bundle ID and app name
  2. Add development / preview / production profiles to `eas.json`, pinning `APP_VARIANT` in each
  3. Swap external service credentials — notifications, analytics, billing — to a separate set per environment

With those three in place, the same source code yields three distinct app identities that coexist on one device.

Why a single bundle ID eventually traps you

The code Rork first emits usually has just one bundle ID (bundleIdentifier on iOS, package on Android). That is fine for a prototype, but after launch it breaks in three predictable ways.

You can't keep a production app and a test app on the same device, because the OS identifies installs by bundle ID and overwrites matching ones. EAS Update (OTA) channels get crossed, so a JS bundle you meant for testing can reach production users. And your analytics, billing, and notification data get contaminated, mixing your debugging into real DAU and conversion numbers until they're unreadable.

The fix is simple in principle: split into dev (local development), staging (pre-release verification), and production, and give each its own bundle ID, app name, and service credentials.

Thank you for reading this far.

Continue Reading

What follows includes implementation code, benchmarks, and practical content we hope you'll find useful. This site runs without ads — server and development costs are supported entirely by members like you. If it's been helpful, we'd be truly grateful for your support.

WHAT YOU'LL LEARN
Switching app.config.ts dynamically with APP_VARIANT to give each environment its own bundle ID and name
Organizing eas.json into development / preview / production profiles so all three coexist on one device
Isolating push tokens, analytics, and RevenueCat per environment so testing never pollutes production data
Secure payment via Stripe · Cancel anytime

Unlock This Article

Get full access to the rest of this article. Buy once, read anytime. This site is ad-free — your support goes directly toward keeping it running.

or
Unlock all articles with Membership →
Share

Thank You for Reading

Rork Lab is ad-free, supported entirely by members like you. We publish practical guides daily with implementation code, benchmarks, and production-ready patterns. If you've found it useful, we'd love to have you on board.

  • Copy-paste ready implementation code
  • New advanced guides published daily
  • $5/mo or $10 for lifetime access
View Membership →

Related Articles

App Dev2026-06-03
Unifying Onboarding Across Six Wallpaper Apps: What One Month of First-Day Retention Showed Me
I folded the onboarding flows of six wallpaper apps scaffolded with Rork into a single config-driven component and watched first-day retention and push opt-in for a month. Here is an honest, operational note on what moved and what didn't.
Dev Tools2026-03-14
Moving Six Apps to EAS CI/CD — EAS Build, OTA Updates, and GitHub Actions in Practice
How I moved the build and release pipeline for six indie apps to Expo Application Services: EAS Build for iOS and Android, OTA updates with EAS Update, GitHub Actions integration, and honest notes on free-tier limits.
App Dev2026-06-25
The App Privacy Section That Grows the Moment You Add Ads and Subscriptions — Notes on What I Actually Checked
How I filled out App Store Connect's App Privacy section for a Rork (Expo) app with AdMob, RevenueCat, and Crashlytics — including the tracking-to-ATT chain, written up as field notes from running six apps.
📚RECOMMENDED BOOKS
Build a Large Language Model (From Scratch)
Sebastian Raschka
LLM Dev
Prompt Engineering for LLMs
Berryman & Ziegler
Prompting
AI Engineering
Chip Huyen
AI Eng
* Contains affiliate links
See all →