Disabling/Enabling APM
Turn App Performance Monitoring off or on in your React Native app. Note that disabling APM also clears performance data not yet synced from user devices.
You can disable APM by calling the following API right after initializing the SDK. This completely prevents the SDK from collecting any performance data or executing any APM related logic:
// Enable
APM.setEnabled(true);
// Disable
APM.setEnabled(false);Last updated