How to do it...

  1. First, we need to install the react-native-hockeyapp module in our application. Open the Terminal, go to your application's root project directory, and enter the following command:
        npm install react-native-hockeyapp --save
  1. Go into your ios/ directory and initialize your Podfile:
        pod init
  1. Open your Podfile and add pod "HockeySDK" to your target.
  2. Back in the Terminal, install the Podfile, as follows:
        pod install
  1. Now, let's open up Xcode and open our React Native project: (ios/TestDeployApp.xcodeproj).
  2. I recommend changing your Bundle Identifier to something more meaningful than the default, so please change it in your General Settings dialog, as follows:
  1. Drag and drop ./ios/Pods/Pods.xcodeproj into the Libraries ...

Get React Native Cookbook - Second Edition 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.