r/reactnative • • 23h 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.

2 Upvotes

14 comments sorted by

3

u/Successful_Web_6585 23h 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.

6

u/dumbledayum 23h ago

write tests

1

u/GriggEbow99 28m ago

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

2

u/realHobbit 22h 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 20h ago

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

1

u/Reindeer4650 23h ago

i am interested in this

1

u/AstronautExtreme6842 21h 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/anthony-ball 20h 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/rkasper 11h ago

Automated tests: unit tests, integration tests, UI tests

1

u/zzoa7922 6h 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 2h 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.