From bd7aa11504fc4000a482f7d711f59b635a4cfe6b Mon Sep 17 00:00:00 2001 From: ndesai-newrelic <89222514+ndesai-newrelic@users.noreply.github.com> Date: Wed, 29 May 2024 15:34:15 -0500 Subject: [PATCH] fix: disabled Interaction Flag Default false for React Native Agent (#165) --- index.js | 2 +- new-relic/__tests__/new-relic.spec.js | 2 +- package.json | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/index.js b/index.js index 250e2f5..380d84d 100644 --- a/index.js +++ b/index.js @@ -37,7 +37,7 @@ class NewRelic { analyticsEventEnabled: true, nativeCrashReportingEnabled: true, crashReportingEnabled: true, - interactionTracingEnabled: true, + interactionTracingEnabled: false, networkRequestEnabled: true, networkErrorRequestEnabled: true, httpResponseBodyCaptureEnabled: true, diff --git a/new-relic/__tests__/new-relic.spec.js b/new-relic/__tests__/new-relic.spec.js index ea68da2..2e92c03 100644 --- a/new-relic/__tests__/new-relic.spec.js +++ b/new-relic/__tests__/new-relic.spec.js @@ -73,7 +73,7 @@ describe('New Relic', () => { it('should have correct default configuration settings', () => { expect(NewRelic.agentConfiguration.analyticsEventEnabled).toBe(true); expect(NewRelic.agentConfiguration.crashReportingEnabled).toBe(true); - expect(NewRelic.agentConfiguration.interactionTracingEnabled).toBe(true); + expect(NewRelic.agentConfiguration.interactionTracingEnabled).toBe(false); expect(NewRelic.agentConfiguration.networkRequestEnabled).toBe(true); expect(NewRelic.agentConfiguration.networkErrorRequestEnabled).toBe(true); expect(NewRelic.agentConfiguration.httpResponseBodyCaptureEnabled).toBe(true); diff --git a/package.json b/package.json index 98b6f53..38c0bdb 100644 --- a/package.json +++ b/package.json @@ -50,8 +50,8 @@ "registry": "https://registry.npmjs.org/" }, "dependencies": { - "@expo/config-plugins": "^7.2.2", - "@react-native-community/cli-platform-android": "^11.3.7", + "@expo/config-plugins": "^7.8.4", + "@react-native-community/cli-platform-android": "^13.6.4", "lodash.foreach": "^4.5.0", "react-native-promise-rejection-utils": "0.0.1" },