Skip to content

Commit

Permalink
fix: disabled Interaction Flag Default false for React Native Agent
Browse files Browse the repository at this point in the history
  • Loading branch information
ndesai-newrelic committed May 29, 2024
1 parent bbbff35 commit 6b795f8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class NewRelic {
analyticsEventEnabled: true,
nativeCrashReportingEnabled: true,
crashReportingEnabled: true,
interactionTracingEnabled: true,
interactionTracingEnabled: false,
networkRequestEnabled: true,
networkErrorRequestEnabled: true,
httpResponseBodyCaptureEnabled: true,
Expand Down
2 changes: 1 addition & 1 deletion new-relic/__tests__/new-relic.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down

0 comments on commit 6b795f8

Please sign in to comment.