[006.5] React Native Weekly Drip #6, and Exercise: Continuous Integration

Learn about how to create automated deploys and improve your life.

Subscribe now

React Native Weekly Drip #6, and Exercise: Continuous Integration [12.30.2016]


React Native at WalmartLabs

Take a look on how Walmart Labs is seeing React Native.

Render HTML in React Native

Render HTMl in React Native, using a component.

React Native for the first time

A blog post explaining how someone did its first React Native app, using a Meteorite Landing API from NASA.

What are the main differences between ReactJS and React Native

Take a look in a single post the differences between ReactJS and Native.

Using React-Native-Router-Flux with Redux

Last week we saw about what is Redux and how it can help us. You can take a look on this article to have a better notion about Redux in Action.

Yet another Image component for React Native

Yet another Image component for React Native with images cached into file system


Today we are going to learn a good practice for Software Development.

Continuous Integration is a techique for integrate the code daily, then we can verity with an automated build.

“Continuous Integration doesn’t get rid of bugs, but it does make them dramatically easier to find and remove.” - Martin Fowler, Chief Scientist, ThoughtWorks

We can use Continuous Integration and Automated builds/deploys for React Native apps. We will use BuddyBuild.

Buddybuild can help us in: - Continuous Integration - Automated Deploys - Static Code Analysis - Checks for xcode compatibilities - First Class Test Support - Publish to Google and Apple Store

Continuous Integration and Automated Deploys

After one commit on your git repository, Buddybuild integrates the code and generate a build file for us. For Android, it generates an APK file and for iOS an ipa file. This is good because, after each commit you have a notion if your code works on Android and iOS. Remember you are developing for both platforms and you should make sure your code can work well for both.

Another common use of Continuous Integration is about running tests. You can, not only, check if the build fails, but also you can run all your suite test.

First Class Test Support

Run tests UI and Unit tests on simulator, emulator and physical devices.

Checks for xcode compatibilities

For iOS developers, when we have a new iOS version, sometimes we got some compatibilities problem. In this sense, Buddybuild checks for potential incompatibilities depending on iOS version.

Publish to Google and Play Store

We can create a pipeline and say once our code is ok in the master branch, publish this to Google or Apple store. This is pretty handy. Buddybuild stores the necessary keys for publish in the stores.

If you are not using a Continuous Integration solution for your app, have BuddyBuild a try. We believe it's pretty useful and it can help programmer's life.

In the last two episodes, we have learned how to deploy a React Native application for Google and Apple stores. Now, you know that you can also use Bubbybuild and simplify your life.