Picture this: a studio sends you a build the night before launch. You tap through it, everything looks right, and you approve it. Two days later, a customer emails to say they received a push notification meant for a test message. Another sees an order that was never placed. Nobody did anything malicious. The team simply built and tested against the same live database your real customers use.
This is the core of staging vs production, and it is one of the least visible things you pay a software studio for. When it's done properly, you never notice it. When it's skipped, you find out in front of your users.
Staging vs production: what each one actually is
Production is the live system. Real customers, real data, real payments, real notifications. Whatever happens there is, by definition, happening to your business.
Staging is a separate copy of that system, with its own backend, its own database and its own settings, that behaves like production but contains nothing real. It's the place where the team can break things on purpose. Most teams also keep a development environment for day-to-day work, so the usual chain is development, then staging, then production.
The important word is separate. A staging app that quietly points at the production database isn't a test environment. It's production with a different label on it.
In practical terms, a properly separated setup means:
- A separate database, so test data never mixes with customer data and a bad migration can't touch real records.
- Separate keys for third-party services such as payments, email, SMS and push notifications, set to their sandbox modes where those exist.
- A separate build of the mobile app that talks only to the staging backend, so testers can install it next to the real one.
- A repeatable way to move a change from one environment to the next, which is what a CI/CD pipeline automates.
The test account Apple asks for
If you've submitted an app to the App Store, you've met this requirement. During review, Apple's reviewers need to get past your login screen and use the app's features. So the submission form asks for a working demo account, and Google Play has a similar process for apps with restricted access.
Review can go wrong here in several ways. The account might be missing, expired, or locked behind a one-time code sent to a founder's phone. It might have no data in it, so the reviewer sees empty screens and can't judge the features. Or the backend might be down because someone redeployed it that morning. Any of these can mean a rejection and a few days lost.
The studios that handle this well treat the review account as a deliverable. It's a stable account on a stable environment, pre-filled with realistic sample content, with credentials documented, and it won't be wiped by the next test run. That's much easier to do when you already have a clean environment to host it. When everything lives in one live system, the choices are all bad: hand Apple a real customer's login, or create a fake user inside your real data and hope it doesn't skew your numbers.
What goes wrong when a studio ships straight to live data
Skipping staging is tempting because it's faster and cheaper on the first invoice. The costs arrive later, and they tend to look like these:
- Test data pollutes real data. Fake orders, fake users and half-finished records end up in your analytics and your admin dashboard. Sorting them out afterwards is slow, and you can never be fully sure you caught everything.
- Real people get contacted by tests. If a test run can send an email or a text, and it's pointed at live customer records, eventually it will.
- Database changes become risky. Changing how data is stored is the riskiest kind of update. On staging you can rehearse it against a copy and see what breaks. Without staging, your first rehearsal is the real thing.
- Rollbacks get harder. If a release goes wrong, you want to return to the last good version quickly. That's far simpler when releases follow a consistent path than when every deploy was a one-off.
- You can't safely approve anything. As the client, you need somewhere to try the next version before customers see it. Without staging, "approving" a feature means it's already live.
It also matters for security. Real customer data copied onto developers' laptops so that "testing feels realistic" is a common and avoidable exposure. Good staging uses made-up data, which is one less thing to protect and one less thing to explain if something leaks. This applies even more when AI features are involved, because you don't want a model experimenting against live customer records.
What a proper test environment costs
It costs something, and anyone who says otherwise is selling you something. There are two kinds of cost: setup time and running cost.
Setup time is a one-off effort at the start of a project: creating the second environment, configuring the separate keys, and automating the path from one to the next. It is a small share of a build when done early, and an expensive retrofit when done late, because by then the live system has real data tangled into everything.
Running cost is usually modest. A staging backend doesn't carry real traffic, so it can be small, and it can often be switched off when nobody's using it. Many cloud providers also have free or low tiers that suit a test system. The exact figure depends on your stack, so ask your studio for it as a line item rather than accepting a vague "infrastructure" charge.
Compare that with the alternative: one corrupted dataset, one wrong message to your customer list, or one rejected app review can easily cost more in time and trust than the environment would have in a year.
Questions worth asking any studio
- How many environments will my project have, and where does each one live?
- Does the staging app use a separate database and separate third-party keys?
- Can I install and try the staging build myself before each release?
- What will the App Store review account look like, and who maintains it?
- If a release breaks something, how do we go back, and how long does that take?
A confident, specific answer to these is a good sign. Hesitation, or "we'll just test on the live site carefully," is worth noting before you sign.
If you're taking over a stalled build, ask the same questions of the existing codebase. Finding out that everything points at one database is common in an inherited project, and it's the kind of thing a code audit surfaces early.
At orithLabs, separate environments are part of how we build mobile apps and backends from the start, not an add-on you negotiate later. You'll talk directly to the engineers who set them up, and we'll tell you plainly what's in place and what isn't yet. If you're weighing up a studio, or wondering whether your current project has any of this, we're happy to look at it with you.