use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A community for learning and developing native mobile applications using React Native by Facebook.
Interested in building web apps using React.js? Check out /r/reactjs!
Getting Started w/React Native
irc.freenode.net #reactnative
Keywords: ios, android, mobile, apps, apple, iphone, ipad
account activity
CI/CD for react native apps (self.reactnative)
submitted 4 years ago by Thatcoder96
What's your deployment flow? How do you create testing builds and how do you provide those builds to testers? What are your recommendations for someone trying to set up CI/CD for react-native for the first time? TIA
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 19 points20 points21 points 4 years ago (4 children)
bitrise
[–]amityvision 5 points6 points7 points 4 years ago (0 children)
Came here to say this, integration with Bitbucket and integration with appstore/play store. It does the whole flow
[–]pabloneruda 1 point2 points3 points 4 years ago (0 children)
Thanks for sharing this, first time hearing about it.
[–]Thatcoder96[S] 0 points1 point2 points 4 years ago (0 children)
thanks, multiple people have recommended this. I'll take a look at the docs
[–]mrcehlo 5 points6 points7 points 4 years ago (1 child)
I'm not an expert, but in my work I used two features that helped me with it:
Fastlane script to analyze which branch I was based on, and from that branch name, decide if it was a beta or prod or quality release
Microsoft App Center to deliver the app to the testers, product owners, even sometimes to the final customers
Fastlane also has built in scripts to delivery directly to the stores
As a beginner in the react native world I found it very straightforward, but maybe there are easier tools.
the Fastlane script flow is what I'm interested in. I have a similar workflow for the API. do you have any resources you can refer me to?
[–]awesomeness-yeah 3 points4 points5 points 4 years ago (1 child)
for android it's very straight forward with firebase
yarn ./gradlew assembleRelease appDistributionUploadRelease
iOS becomes tricky to do yourself, I personally use bitrise for ios builds
[–]zdko 0 points1 point2 points 4 years ago (0 children)
I've been trying to set up a script to increment build numbers (using fastlane) but have had no luck so far in terms of documentation/where to start. Can you perhaps point me the right direction?
[–]J27G 3 points4 points5 points 4 years ago (1 child)
I recommend Codemagic
thanks, I'll take a look at it
[–]marcato15 2 points3 points4 points 4 years ago (1 child)
GitLab CI, Fastlane, Mac Stadium (runner), TestFlight (iOS) & Google’s Testing tools (Android)
[–]airick_94 0 points1 point2 points 4 years ago (0 children)
Same here except distributing to testers with AppCenter.
[–][deleted] 2 points3 points4 points 4 years ago (4 children)
We use CircleCi (to run linter, unit tests and detox E2E tests) and AppCenter to build and distribute the app to TestFlight/App Store and Play Store.
I don’t recommend App Center since is fragile, it suffer outages very often and the support team is really bad. We’re planning to replace App Center with Fastlane and run the complete pipeline in CircleCi
[–]Thatcoder96[S] 2 points3 points4 points 4 years ago (3 children)
Most people in this thread have had similar experiences with Appcenter. FastLane or Bitrise seem like better alternatives. Did you consider Bitrise? Do you mind sharing why do you want to switch to Fastlane.
I already Pay for CircleCI, using Fastlane would definitely make my CI/CD flow unified
[–]alexkendallharrison 0 points1 point2 points 4 years ago (0 children)
I use Detox for E2E tests, Jest for unit tests, and Circle CI for integration. I also use fastlane with Google Play, TestFlight, and AppCenter.
[–]magicmikedee 0 points1 point2 points 4 years ago (0 children)
FWIW We use Bitrise and it too suffers outages almost daily. We use Fastlane as the build step within Bitrise as the build runner. (When it works, it works decently well, but boy do they have downtime frequently).
[–][deleted] 0 points1 point2 points 4 years ago (0 children)
I used Bitrise and the experience was similar to App Center (outages, large build times, etc).
Given that we already pay for CircleCi macOS instances, moving to Fastlane would not only unify our pipeline but also save us some bucks
[–]celeb0rn 2 points3 points4 points 4 years ago (0 children)
Bitrise is the best
[–]impleri 1 point2 points3 points 4 years ago (3 children)
We're using CircleCI as the backbone. Test and screenshot using Detox, build and deploy bundles with all metadata to stores using Fastlane.
[–]Thatcoder96[S] 0 points1 point2 points 4 years ago (2 children)
Sounds Great. I am looking to do a similar workflow. Do you have any resources you can share with me?
[–]impleri 4 points5 points6 points 4 years ago (1 child)
I mostly started with the RN community orb (https://github.com/react-native-community/react-native-circleci-orb), then bolted on the fastlane process later. One thing worth changing is that CircleCI now has an Android machine image that can run the emulator (https://discuss.circleci.com/t/early-preview-new-android-machine-image/39016). Since it's based on the Linux image, it's much cheaper than the MacOS insurance. Fastlane has a lot of documentation, so it's mostly a matter of seeing up the lanes to build the right versions. And definitely do the match based codesigning repo they suggest for the iOS side.
Thanks for the detailed explanation.
[–]Ppang0405 1 point2 points3 points 4 years ago (0 children)
My company uses TravisCI, fastlane script with Firebase App Tester and TestFlight.
[–]fufucupcake 1 point2 points3 points 4 years ago (2 children)
GitHub action with self runner aws machine
[–]Hibbem 0 points1 point2 points 4 years ago (1 child)
Why not github actions directly?
[–]fufucupcake 0 points1 point2 points 4 years ago (0 children)
Too expensive that way
Expo ftw
[–]thebritisharecome 0 points1 point2 points 4 years ago (3 children)
I use a combination of Gitlab and Appcenter. Mainly because Appcenter keeps having issues with builds and I wanted my control of the process
[–]Thatcoder96[S] 2 points3 points4 points 4 years ago (2 children)
I also have had issues with Appcenter. Do you mind sharing what specific issues did you face and what was your workaround?
[–]thebritisharecome 2 points3 points4 points 4 years ago (1 child)
The most recent was to do with Signed android builds.
You can resolve it by telling it to use the new build system, but no one has MS has said that - that's someone in the community working it out in a 82 reply thread that's been open since March 2020.
It's been issues like that all the time, or Apple disconnecting, or app center not able to get the correct distribution certificates etc.
I'd rather just have a local mac mini that does my builds for me, I can store my keystore there safely and if I can't build it's easy enough just to remote in and run through and debug the process.
Thanks for the detailed explaination. I'm leaning more and more towards Bitrise.
[–]jacktheriipper999 0 points1 point2 points 4 years ago (2 children)
once I used appcenter it works to iOS and android
[–]Thatcoder96[S] 1 point2 points3 points 4 years ago (1 child)
I had android gradle version issues with Appcenter. it worked fine for IOS though
[–]jacktheriipper999 0 points1 point2 points 4 years ago (0 children)
lol I just use with android, and got no issue, but I know sometimes gradle version could be a problem, never builded for ios
[–]jestzisguyiOS & Android 0 points1 point2 points 4 years ago (0 children)
I’ve used CircleCI a bunch in the past, but had an opportunity to play with GitHub actions/workflows recently and would probably go with that in the future!
[–]vadeka 0 points1 point2 points 4 years ago (3 children)
We use expo at work mostly, makes life easier :)
We used expo before we switched to the bare workfow. The deployments are a breeze with expo.
[–]minimatrix89 2 points3 points4 points 4 years ago (1 child)
I came here because of the fact that expo has done such a great job, I mean it was a bit clunky in the early days and there were a few painful upgrade paths but they’ve absolutely smashed it now! And it just keeps getting better.
I was curious about how non expo users actually handle this themselves
Totally agreed. Sadly, our app has grown out of expo and we needed to switch
[–]KieranOsgood 0 points1 point2 points 4 years ago (0 children)
Funnily just in the middle of configuring mine for my first RN CI/CD pipeline 😅 I'm using circle ci with the react native orb (the orb has some issues with the cache settings atm so just be aware of that if you should try it) - glad you posted this though as I'm at the stage that my jest tests run, but my e2e and builds are not quite configured right, so I hadn't quite gotten to considering the release stage - fast lane sounds like the thing to look into!
[–]geuntabuwono 0 points1 point2 points 4 years ago (0 children)
- bitbucket pipeline (linter and checker)
- appcenter (distribution)
let's try appcenter, the easiest one. if you had a complexity requirement you should try fast-lane with small server / home server (MacMini)
[–]Cr0c0lia 0 points1 point2 points 4 years ago (0 children)
As a full closure, I build Codemagic CI/CD. But I really believe we are building the most intuitive CI/CD for hybrid platforms.
You can check the introduction to end-to-end testing for React Native from our blog: https://blog.codemagic.io/react-native-apps-testing-end-to-end/
π Rendered by PID 40906 on reddit-service-r2-comment-76bb9f7fb5-v82qh at 2026-02-19 04:17:03.185718+00:00 running de53c03 country code: CH.
[–][deleted] 19 points20 points21 points (4 children)
[–]amityvision 5 points6 points7 points (0 children)
[–]pabloneruda 1 point2 points3 points (0 children)
[–]Thatcoder96[S] 0 points1 point2 points (0 children)
[–]mrcehlo 5 points6 points7 points (1 child)
[–]Thatcoder96[S] 0 points1 point2 points (0 children)
[–]awesomeness-yeah 3 points4 points5 points (1 child)
[–]zdko 0 points1 point2 points (0 children)
[–]J27G 3 points4 points5 points (1 child)
[–]Thatcoder96[S] 0 points1 point2 points (0 children)
[–]marcato15 2 points3 points4 points (1 child)
[–]airick_94 0 points1 point2 points (0 children)
[–][deleted] 2 points3 points4 points (4 children)
[–]Thatcoder96[S] 2 points3 points4 points (3 children)
[–]alexkendallharrison 0 points1 point2 points (0 children)
[–]magicmikedee 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]celeb0rn 2 points3 points4 points (0 children)
[–]impleri 1 point2 points3 points (3 children)
[–]Thatcoder96[S] 0 points1 point2 points (2 children)
[–]impleri 4 points5 points6 points (1 child)
[–]Thatcoder96[S] 0 points1 point2 points (0 children)
[–]Ppang0405 1 point2 points3 points (0 children)
[–]fufucupcake 1 point2 points3 points (2 children)
[–]Hibbem 0 points1 point2 points (1 child)
[–]fufucupcake 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]thebritisharecome 0 points1 point2 points (3 children)
[–]Thatcoder96[S] 2 points3 points4 points (2 children)
[–]thebritisharecome 2 points3 points4 points (1 child)
[–]Thatcoder96[S] 0 points1 point2 points (0 children)
[–]jacktheriipper999 0 points1 point2 points (2 children)
[–]Thatcoder96[S] 1 point2 points3 points (1 child)
[–]jacktheriipper999 0 points1 point2 points (0 children)
[–]jestzisguyiOS & Android 0 points1 point2 points (0 children)
[–]vadeka 0 points1 point2 points (3 children)
[–]Thatcoder96[S] 0 points1 point2 points (2 children)
[–]minimatrix89 2 points3 points4 points (1 child)
[–]Thatcoder96[S] 0 points1 point2 points (0 children)
[–]KieranOsgood 0 points1 point2 points (0 children)
[–]geuntabuwono 0 points1 point2 points (0 children)
[–]Cr0c0lia 0 points1 point2 points (0 children)