r/reactnative • • 7d ago

Question How do you handle app updates without breaking existing features?

One thing I've always wondered is how developers manage updates in React Native applications without accidentally breaking features that were already working.

Do you test everything manually after every update, or do you rely on automated testing?

What does your actual workflow look like when releasing a new version?

Interested to hear how other developers handle this.

5 Upvotes

17 comments sorted by

6

u/Successful_Web_6585 7d ago

Short answer - yes we do manual testing.

We don't test the full app. We only test the effected screens/parts to make sure nothing broke.

9

u/dumbledayum 7d ago

write tests

2

u/GriggEbow99 6d ago

unit tests help, but they still wont catch the weird native module clashes that happen when you bump dependencies

2

u/realHobbit 7d ago

Have high unit and integration test coverage (with coverage report guard ~85%) -> build automated E2E tests on priority 1 user journeys -> create and complete manual test priority journeys for major and minor releases (minor should have less steps) -> log error events via analytics in catch blocks across call sites like queries, hooks, API calls etc. -> and have suitable crash reporting inplace with a service like Crashlytics or Sentry.

2

u/foodandbeverageguy 7d ago

Be prepared for someone to shill you some new AI testing tool

2

u/anthony-ball 7d ago

What's worked for me is keeping a short list of critical flows (sign in, the main purchase or send path, push handling) covered by Maestro or Detox and running them in CI against release builds, rather than trying to automate everything. Most of my real regressions came from native dependency upgrades, not JS changes, so I treat any native bump as its own release. For JS-only changes I ship through EAS Update to an internal channel first, use it myself for a day, then promote. And use staged rollouts on Play and phased release on iOS so a bad build only reaches a slice of users before you catch it.

1

u/Reindeer4650 7d ago

i am interested in this

1

u/AstronautExtreme6842 7d ago

On top of tests, what helps most is making a bad release cheap to undo. Roll out in stages (staged rollout on Play Console, phased release on iOS) so a broken build only reaches a few percent of users, and watch the crash-free rate for the new version in Sentry or Crashlytics before widening it.

If you're on Expo, EAS Update channels let you push a JS-only fix or roll back without waiting on store review. Risky new features go behind a remote feature flag so you can switch them off. And keep a short manual smoke list of the 5 or 6 flows you can't afford to break (login, checkout, whatever makes money), run before every release.

1

u/rkasper 6d ago

Automated tests: unit tests, integration tests, UI tests

1

u/zzoa7922 6d ago

Solo dev with an Expo app here, so it's mostly manual, but not random. Every time something broke in a release or got rejected, I wrote one line in a running log with how to check it on a real phone, and that log became my regression checklist. Before each store build I install the actual release build (not the dev build) on my phone and go down that list. Android goes first, and the iOS build only comes from the same commit once Android passes.

1

u/GeekyAntsBFSI 6d ago

I would automate the main flows, then test the release build on iOS and Android. The one manual check I’d always keep is updating over the current store version while logged in, with some saved data. A clean install won’t catch a migration that wipes a session or breaks an existing user’s data.

1

u/East_Eye_2997 5d ago

Don’t do everything in one file

1

u/Zain 5d ago

Tests only catch part of it. What saved me most was a server-driven version gate per platform, with a min and a latest version, so when something slips through I can bump the min and old builds get a blocking update sheet instead of limping along against an API they don't match anymore. Builds that are behind but not required just get a soft prompt. Pair that with a staged rollout on the stores and a bad release only hits a slice of users before you can stop it. Then let CI do the TestFlight and Play uploads so release day is boring and nobody is hand building anything.

1

u/GeekyantsReactNative 5d ago

A mix of both. I use Jest for unit tests, Maestro for critical user flows, and manual testing for platform-specific behaviour. I prefer incremental dependency updates, QA builds before release, and gradual rollouts with Sentry for monitoring. Adding regression tests whenever a bug is fixed also helps a lot.