◉RORK LABJP
●GPT6.1 — GPT-6.1 Sol joined the Rork model menu (Sep 29). It is the latest entry on the changelog●10/12 — 7 days left until React Native 0.88.x is due. Expo SDK 58 stable is only described as early October●NEW — Multiseat Purchases Are Already On: Decide Whether to Keep Them Before October 22●SDK 58 — A fix PR (#50998) for npm install failing in new projects is under review. No stable date has been given yet●SONNET — Claude Sonnet 5.5 is now in Rork (Sep 28). It is described as over 30% faster than Sonnet 5●iOS 27 — From April 2027, App Store uploads require the iOS 27 SDK. There is time to update your build environment calmly●GPT6.1 — GPT-6.1 Sol joined the Rork model menu (Sep 29). It is the latest entry on the changelog●10/12 — 7 days left until React Native 0.88.x is due. Expo SDK 58 stable is only described as early October●NEW — Multiseat Purchases Are Already On: Decide Whether to Keep Them Before October 22●SDK 58 — A fix PR (#50998) for npm install failing in new projects is under review. No stable date has been given yet●SONNET — Claude Sonnet 5.5 is now in Rork (Sep 28). It is described as over 30% faster than Sonnet 5●iOS 27 — From April 2027, App Store uploads require the iOS 27 SDK. There is time to update your build environment calmly
Articles/Dev Tools
⬡ Dev Tools/2026-03-22Advanced

Making Feature Flags Survive Production: Kill Switches and Gradual Rollouts in Rork Max

Wire Firebase Remote Config into a Rork Max app, then harden it: kill switches that work offline, stable bucket assignment for gradual rollouts, and a registry that keeps flags from turning into debt.

Rork Max235Feature Flags4Remote Config10A/B Testing8Gradual RolloutFirebase10

✦ Premium Article

The Night a Policy Warning Landed in My Inbox

AdMob once flagged one of my published apps for a policy violation. A single placement. The fix itself took maybe fifteen minutes.

What it did not take fifteen minutes to do was reach anyone. I had to build, submit, and wait for review. The code on my machine was already correct; the app on the storefront was not. I remember refreshing the dashboard well past midnight, fingers going cold.

What I needed that night was not the ability to fix something. It was the ability to stop something.

Feature flags let you toggle behavior from the server while the code sits deployed. Remote Config lets you swap values after shipping. Together they buy you four things:

  • Ship a feature to a slice of users first (canary release)
  • Compare two variants of a screen or a piece of copy (A/B testing)
  • Disable a misbehaving feature immediately, without waiting for review (kill switch)
  • Change copy, colors, and thresholds without resubmitting

Every article says this much. What they leave out is where it breaks once real traffic arrives. The feature you "killed" still runs during the first few hundred milliseconds before the fetch resolves. You raise a rollout from 10% to 20% and some of the original 10% lose access. Six months later you have forty flags and nobody can name which ones are still load-bearing.

What follows starts with a working Firebase Remote Config integration for a Rork Max app, then spends the second half on the parts that fail in production — the ones I only learned by breaking them. Implementation first, operations after.

Prerequisites and Setup

Before getting started, make sure you have:

  • An active Rork Max subscription
  • A Firebase project (the free Spark plan works fine)
  • Basic familiarity with React Native / Expo
  • Familiarity with native module integration in Rork Max (enough to call the Firebase SDK from the native layer)

Setting Up Firebase

Create a Firebase project in the Firebase Console, then register your iOS and Android apps. If you're using Expo with Rork Max, add the Firebase config file paths to your app.json.

# Install Firebase packages
npx expo install @react-native-firebase/app @react-native-firebase/remote-config
✦

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
✦Kill switches that still fire when the network is down — fail-safe direction and boot ordering
✦Stable bucket assignment with FNV-1a, and how to fix the skew hiding in the naive hash
✦A flag registry with expiry dates, enforced in CI, plus a safe removal sequence
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 $15 for lifetime access
View Membership →

Related Articles

⬡ Dev Tools2026-08-29
The Remote Config keys you add after your release path closes are invisible to the build already on devices
A record of recounting what I can still change remotely before my release path closes. A key you add in the console does nothing unless a build that reads it is already on devices. Which switches to ship in the last build, and a shared-defaults bug I measured.
⬡ Dev Tools2026-08-01
Every Experiment Kept Landing on the Same Devices: Hash Choice and Salt Position, Measured Across a Million IDs
On-device experiment assignment looked fine in isolation, then collapsed the moment two experiments ran side by side. Here is what one million IDs revealed about four hash functions, why the culprit was the concatenation order rather than hash quality, and the implementation I settled on, with the measured numbers.
⬡ Dev Tools2026-05-16
Migrating Firebase CocoaPods to SPM in Rork Max Apps
Firebase Apple SDK's CocoaPods distribution ends in October 2026. Here's a detailed migration log from moving 4 Rork Max iOS apps to Swift Package Manager — including dSYM failures, module errors, and the Dropbox conflict copy problem you'll definitely hit.
📚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