/react-native-new-relic-module

Use New Relic in React Native

Primary LanguageJavaMIT LicenseMIT

react-native-new-relic-module

Use New Relic in React Native

Installation

npm install react-native-new-relic-module

Setup Android

  • Follow instructions here to add New Relic Agent as a dependency.

Setup iOS

  • add import react_native_new_relic_module
  • call NewRelic.start(withApplicationToken: "INSERT_TOKEN_HERE")

Usage

import { NewRelicModule } from 'react-native-new-relic-module';

// View `NewRelicModuleInterface` to see supported methods

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT