Deploying our application

Now that we have a fully featured, well-tested, and performant application, it is time to get it into the hands of our users. In this section, we'll briefly go through the steps involved in getting an application into a mobile app store, focusing on the parts of the process that are specific to React Native.

Remove debugging code

No matter where we plan on distributing our application, we will want to ensure that we remove any code that is specific to debugging from our production application build. Some of this, including things such as React PropTypes, will be done for us in the React library, but occasionally we will need to do it ourselves.

One example of code that can be removed from the production build is redux-logger ...

Get Mastering React Native now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.