r/reactnative • u/Logical_Value_9007 • 23h ago
What does your RN release process actually look like, no judgment
I'll go first. I run the app in expo go, check the screen I changed, build, ship. I don't check other screens, I don't open the production build before pushing, I don't test on android if I changed something on iOS.
I've been experimenting with spinning up cloud simulators to at least check the build on a couple devices before I push but even that feels like more than what most solo devs do.
I know this is bad but I genuinely don't know what a realistic release process looks like for a solo dev or a 2 person team shipping RN. Every guide I read assumes you have a QA person or a full automation suite and I have neither.
What does yours actually look like ??
3
u/Deepress87 21h ago edited 21h ago
Hi,
just out of curiosity ill share mine:
Firstly i try to keep my stack pretty simple so i went with Expo+Supabase combo. I do have two environments on expo's EAS "staging" and "production", which also means that i use the 15$/mo supabase pro account so i can have two separate databases. For the testing i have a GH Project board with columns "Phone checks", "Problem", "Tested OK", "Shipped".
My release process looks like this:
For the PR work i set up Claude to always do some code reviews and i also use Coderabbits review, it usually finds a lot of various security issues, race conditions, bad tests etc. After the reviews are done CI is executed on that PR branch and once it passes it is merged to the main branch.
For the various crashes in the native apps, i use Sentry and claude checks it periodically for errors.
It's an ongoing process to actually tweak the workflow to my liking and even after a few months i find something in this setup that needs to be updated.
Hope that answered your question :)
2
u/Western_Cap_6934 19h ago
One small check I would add: keep a device on the current release with saved data, then update it to the candidate build without clearing storage. A clean install can pass while an update breaks saved sessions or a data migration. That covers a different risk from adding more fresh simulators.
1
u/ali_the_bettor_34 21h ago
solo too, web first for now so not the full picture. what saved me is making it boring: a github action runs lint, typecheck and tests on every push to master and deploys to a preprod url if they pass. prod only ships when i publish a release on a version tag, so a random push can never reach it. i click through the preprod before tagging. no qa person, but the stupid mistakes get caught by the machine and i only check what i changed
1
u/dawedev 17h ago
A cheap middle ground: before each release, install the actual release build (EAS internal distribution, TestFlight or the Play internal track) on one iPhone and one Android, not Expo Go, because native config, permissions and env vars only break in the real build. Keep a short list of 5 or 6 flows that make money or lose data (sign in, purchase, the main create/save flow) and click through those on both, it takes about 10 minutes. If you ship OTA updates, double check runtimeVersion so you never push JS that expects a native module the store build doesn't have. Phased release on the App Store and staged rollout on Play give you a way out if something still slips.
1
u/vivekbarsagadey 16h ago
For a solo Expo release, I'd make the checklist short enough to actually run: install the release candidate on one iPhone and one Android, launch it cold, sign in, and complete your main user flow. If you changed a native dependency or permission, test a fresh build and an upgrade from the current store version. If you automate one thing first, automate that main flow. Keep the rest manual until the checklist starts costing you real time.
1
u/Able-Web9658 10h ago
I'd love to talk about the release train that we do. Its fully automated. Truth be told im proud of how it works. Super easy and foolproof
We are now a team of now 4. In an organization with 4000. I did this when i was soloing the project.
One app. Three environments. Dev, stage and prod. All environment variables is stored in aws and fetched from there at build time.
A GitHub action starts the pipeline. All the company infrastructure runs on aws, our certs, env variables and i18n comes from here too. This is handled by an action too.
We use fastlane as a build tool. Mostly because it maste certificate handling super super easy.. even when hosting the certs yourself. I have been thinking of skipping fastlane for Android. But after cutting build time from 2 hours down to ⅓ it doesnt matter to me if its in yaml or ruby.
Several guardrails is in place to not publish a build with a stage environment to customers. Eg we will only upload to app store and play store prod track, when running from master branch with the product environment selected.
For all production builds we will upload a changelog to an s3 bucket to be used later by another service. Once apple approves the app for distribution.
When a pre release is created on GitHub a message will be send to the team slack channel with a changelog.
We are notified by all state changes by both Google and apple directly on slack using webhooks and a slack bot. Once apple approves our app as ready for distribution we are using the changelog to create a message for the company about what has changed and which new features we added. Claude uses the git changelog and all Jira tickets to do a summary. The higher-ups and pm's love that.
In the team out biggest discussions is usually how to version the next release. Ive been advocating that nobody cares about a version of an app, except if your a developer. I think it should just be the runner id of the GitHub action
1
u/Zain 4h ago
Biggest change for me was getting CI to do the actual store uploads. It builds and pushes to TestFlight and Play, so I'm always testing the real production build on both platforms instead of Expo Go, and build numbers get pulled from the stores so I never fumble those. The other thing I'd add early is a server-driven force-update check per platform, just a min version and a latest version. If a release breaks something you ship the fix and bump the min, and old installs get a blocking update sheet instead of you hoping people update.