Launch offer for the first 500 accounts: $10K MTR free for 24 months + $100 credit →
    .io
    Video Library

    Feature flags

    Ship it switched off with feature flags

    3:08
    beginner
    Recorded 2026-11-15

    Watch this on YouTube

    Ship code switched off with BillDog feature flags: roll out by percentage, target your team first, then turn a flag off and watch a reopened web app fall back.

    What this video covers: Filmed with the web SDK. The iOS and Android SDKs behave the same way once fresh flags arrive; at launch they answer from the last session’s flags.

    Transcript

    On the web, a bad release is a rollback. On mobile, a bad release is a build waiting for review, and so is the fix.

    This is the thing that makes shipping mobile feel different from shipping anything else. Once a build is in the store, it is out of your hands. Changing its code usually means another build, and the fix you write in ten minutes reaches people only after review, and after they update. So the risk is not in the code. The risk is that the code is unreachable.

    Every flag here is a switch your app reads at runtime. Ship the code disabled, turn it on when you’re ready, and turn it off the moment it misbehaves.

    Rollout is a percentage, not a switch you flip blind. Ten percent of users first, then fifty, then everyone. The same user always lands on the same side of the split.

    Here is one, live in the demo. A redesigned onboarding, enabled, and reaching ten percent of users. Which means ninety percent are still on the old one, and if the new one turns out to be worse, the blast radius was always one in ten.

    Or pick the people first. A segment of your own team, a cohort, one platform. The conditions decide who qualifies, and the rollout then takes its share of them. So set it to a hundred percent, and the whole group gets it. That is the version I would reach for first, because ten percent of your real users is still a lot of strangers meeting something for the first time. Your own team meeting it first costs nothing.

    And this is the whole argument, in one gesture. This is my own project, and next to it is a small app built on the web SDK. When it opens, it reads this flag, and right now it shows the new checkout. Something is wrong at two in the morning. You do not write a fix, you do not cut a build, you do not wait for review. You turn it off.

    And the next time someone opens the app, they are back on the old checkout. On iOS and Android it works the same way, with one catch: at launch, the SDK answers from the last session until the new flags arrive, so wait for them before you read one. A kill switch is just a flag you hope never to use. It costs a couple of lines where you wrote the risky thing, and it buys back the one thing mobile normally takes away from you: the ability to change your mind.

    Ship it switched off. Turn it on for yourselves. Then ten percent. Then everyone, when the numbers say so rather than when the calendar does.

    We use cookies and process your data to provide our services. By continuing, you agree to our Terms and Privacy Policy.