Testing React Native apps with zero effort

> cli-rn remote:prod

Quickstart

In this section, we are going to start using cli-rn and see it in action!

> npm i -g cli-rn
> cli-rn new AppName

Testing

Let’s assume that you have coded a feature in your app and would like to test it in release mode on a real device to feel the experience of an end-user. We have 2 options here:

  1. Open XCode and run the project in Release mode (takes ~4–5 minutes).
  2. Use cli-rn and cli-rn-app (takes < 1 minute).
> cli-rn remote:prod

Summary

Working on this project made me learn a lot of things such as writing a CLI for the first time and connecting all parts of the project together, like backend, server for tunneling, mobile app, etc.

--

--

Problems solver. Open Source Staff. MS in CS. https://batyr.io

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store