DEV Community

Cover image for Shipping React Native apps with Fastlane and Travis

Shipping React Native apps with Fastlane and Travis

Carlos Cuesta on September 19, 2018

Originally posted at carloscuesta's blog A year ago I wrote a post about how Fastlane could help us to improve our React Native apps shi...
Collapse
 
levelcoding profile image
levelcoding

I don't wanna broke your topic, but how work this on a phone, should i build and make arhive on specific folder and just unarhive on phone or i should search for a installer, exe programmer? THanks a lot...

Collapse
 
carloscuesta profile image
Carlos Cuesta

I don't understand what are you asking for. But If it's related with the deployed apps, those could be found either on the stores or the beta testing platforms.

Collapse
 
levelcoding profile image
levelcoding

After i build the app with React, how i can put it on my phone?

Thread Thread
 
kylessg profile image
Kyle Johnson

I think you're getting confused between react and react-native. They are two separate things.

Thread Thread
 
levelcoding profile image
levelcoding

Befeore your build with react native ,how can i test a app to a phone?

Collapse
 
heralbertario profile image
Hernán Albertario

Thanks Carlos! Great article! It helped me a lot!
I'm having some issues to put the 3 Travis stages together. I tried to paste them in the same .travis.yml file, but it didn't work. The output of "travis lint .travis.yml" is:
Warnings for .travis.yml:
[x] unexpected sequence
[x] missing key language, defaulting to ruby

And when I try to run it on travis, the log ends with:
The command "rake" exited with 1.

Could you share me your whole travis.yml file, please?
Thanks again!

Collapse
 
kylessg profile image
Kyle Johnson • Edited

Good read, am a big advocate of using fastlane, even if your project just deploys only 1 app it's often still worth doing.

Collapse
 
carloscuesta profile image
Carlos Cuesta

Totally worth it! It just saves you a lot of time

Collapse
 
stenpittet profile image
Sten

Thanks so much for that! I was looking for a guide on Fastlane and this is a great resource for me and the team. Cheers mate!

Collapse
 
carloscuesta profile image
Carlos Cuesta

Glad you find it useful! 😊

Collapse
 
plurson profile image
Plur Son

How would this work with Expo?

Collapse
 
carloscuesta profile image
Carlos Cuesta

I think Expo has his own way to manage standalone native builds and deploys.

docs.expo.io/versions/latest/distr...