React Native allows developers to build mobile applications that can run on both iOS and Android, eliminating the need to create a separate application for each platform. This is a powerful tool for building applications, and there are many tools and frameworks that can be used with React Native. This document highlights a few of the development tools that you will use to connect your application for New Relic Mobile React Native monitoring.
Recommended package management tools:
CocoaPods is a package management tool for iOS and macOS development, allowing developers to easily integrate 3rd party libraries and frameworks into their projects. For users with React Native 0.60 and higher, CocoaPods is included by default and is used to simplify the install process for the Mobile React Native agent.
Learn more about CocoaPods:
- Review CocoaPods' Getting started documentation.
- For more information on using CocoaPods for iOS and MacOS development, see Using CocoaPods.
- For Xcode users, review this guide on Adding CocoaPods to an Xcode project.
Gradle is a build automation tool, using Maven under the hood to download and manage project dependencies. Along with the New Relic Gradle plugin, Gradle is used to manually link your React Native Android application to the Mobile React Native agent.
Learn more about Gradle:
- Review Gradle's Getting started documentation.
- To install Gradle, see Installing Gradle.
- For more information about using Gradle with Android Studio, see Configure your build.
Learn more about npm:
- Visit the npm.js website.
- Review npm's Getting started documentation.
- To install npm, see Downloading and installing npm.
Recommended development environments:
Android Studio is the official integrated development environment (IDE) for Android app development. By combining all the app development tools into a single package, it allows you to manage your entire development workflow. For the Mobile React Native agent, Android Studio is used to configure and troubleshoot the agent install.
Learn more about Android Studio:
- Review Android's Meet Android Studio documentation.
- To install Android Studio, see Install Android Studio.
Xcode is the official Apple integrated development environment (IDE) for iOS and macOS development, combining all the tools used when developing an application (including a text editor, compiler, and build system) into one software package. For the Mobile React Native agent, Xcode is used to manually link your iOS application to the agent, and to configure and troubleshoot the agent install.
Learn more about Xcode:
- Review the Xcode overview documentation.
- See how to Create an Xcode project.
- Use Xcode for Testing Your Xcode project.