Coder Social home page Coder Social logo

newrelic-cordova-ios's Introduction

New Relic iOS SDK for Cordova and PhoneGap

The official New Relic iOS SDK plugin for Cordova and PhoneGap.

Installation

  • In your PhoneGap/Cordova project directory run this command:
cordova plugin add https://github.com/newrelic/newrelic-cordova-ios
  • Open your project's top-level config.xml file and add this line with your New Relic token:
<preference name="NewRelicApplicationToken" value="<YOUR_TOKEN_HERE>" />
  • Open the iOS project in Xcode (located in <project>/platforms/ios/<project>.xcodeproj)
  • Click on your Project in the Project Navigator window, under Targets select your app, and click the Build Phases tab.
  • Click the "+" at the top of the Build Phases section and select "New Run Script Phase".
  • In the script text area (beneath the Shell line) enter this script, adding your New Relic token:
SCRIPT=`/usr/bin/find "${SRCROOT}" -name newrelic_postbuild.sh | head -n 1`
/bin/sh "${SCRIPT}" "<YOUR_TOKEN_HERE>"
  • Now you can either run your app directly from Xcode or exit out and run your app via the command line. In several minutes, you should be able to see data being reported in your New Relic Mobile account.

License

newrelic-cordova-ios plugin is licensed under the Apache 2 License. http://www.apache.org/licenses/LICENSE-2.0.html

NewRelicAgent.framework is Copyright (c) 2014 New Relic. All rights reserved. For license details see https://docs.newrelic.com/docs/licenses/ios-agent-licenses

newrelic-cordova-ios's People

Contributors

bryce-buchanan avatar jedi4ever avatar

Watchers

Hendrik Dacquin avatar Bramus avatar James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.