Newrelic Cordova Plugin banner
newrelic newrelic

Newrelic Cordova Plugin

Development community

Description

A Cordova plugin for the New Relic Mobile SDKs

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

[![Community Plus header](https://github.com/newrelic/opensource-website/raw/main/src/images/categories/Community_Plus.png)](https://opensource.newrelic.com/oss-category/#community-plus)

[![Android Testsuite](https://github.com/newrelic/newrelic-cordova-plugin/actions/workflows/android.yml/badge.svg)](https://github.com/newrelic/newrelic-cordova-plugin/actions/workflows/android.yml) [![iOS Testsuite](https://github.com/newrelic/newrelic-cordova-plugin/actions/workflows/ios.yml/badge.svg)](https://github.com/newrelic/newrelic-cordova-plugin/actions/workflows/ios.yml)

New Relic plugin for Cordova

The official [New Relic](https://newrelic.com/mobile-monitoring) [Cordova](http://cordova.apache.org/) plugin for iOS and Android.

When added the New Relic Cordova plugin will

  • Detect the platforms added to your Cordova application and apply the most recent release of the appropriate New Relic Mobile agent (Android , iOS )
  • Add post-build scripts for uploading iOS symbolication files
  • Upload Android Proguard mapping files
  • Automatically instrument mobile applications built via Cordova

Installation

Prerequisites

  1. Cordova 7.x or newer
  2. Node 6.0 or newer
  3. Cordova CLI tools
  4. Android and iOS Cordova platforms
  5. New Relic Mobile application tokens

Make sure you have fulfilled the prerequisites for adding the [Android](https://cordova.apache.org/docs/en/latest/guide/platforms/android) or [iOS](https://cordova.apache.org/docs/en/latest/guide/platforms/ios/index.html) platform to your Cordova project.

If you don't have a New Relic account, [create a free trial](https://newrelic.com/signup?trial=mobile) and add an application from your account page. We suggest using separate applications for iOS and Android.

Finally, copy the application tokens from your New Relic applications page, and have them ready f