New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

reactnative-plugin-appice-apm

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reactnative-plugin-appice-apm

Official libapm SDK for react-native

latest
Source
npmnpm
Version
1.4.4
Version published
Maintainers
1
Created
Source

AppiceAPM SDK for React Native

Requirements

  • react-native >= 0.65.0

Installation and Usage

To install the package and setup your project:

npm install reactnative-plugin-appice-apm

How to use it:

========= Mandatory =======================
const AppiceAPM = require('reactnative-plugin-appice-apm');
const AppICE = require('reactnative-plugin-appice');

AppiceAPM.init({
  dsn: 'Put your dsn here',
  tracesSampleRate: 0.0,
  _experiments: {
    profilesSampleRate: 1.0,
  },
});

AppICE.getUserId((userID: any) => {
  if (userID.length > 0) {
    AppiceAPM.setUser({ id: userID });
  }
});
AppICE.getDeviceId((deviceID: any) => {
  if (deviceID.length > 0) {
    AppiceAPM.setContext('device', {
        id: deviceID,
    });
  }
});
============ Optional ============================
// You can use these functions as per your requirements.

AppiceAPM.setTag("myTag", "tag-value");
AppiceAPM.setExtra("myExtra", "extra-value");
AppiceAPM.captureMessage("Hello TestApm!");
AppiceAPM.captureException(Error);
inside android->app->build.gradle
apply from: "../../node_modules/reactnative-plugin-appice-apm/libapm.gradle"
just before 
android {
  
}

Keywords

react-native

FAQs

Package last updated on 25 Nov 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts