diff --git a/packages/react-native-session-replay/src/SessionReplay.ts b/packages/react-native-session-replay/src/SessionReplay.ts index 7eed3ea00..0c1da957d 100644 --- a/packages/react-native-session-replay/src/SessionReplay.ts +++ b/packages/react-native-session-replay/src/SessionReplay.ts @@ -33,7 +33,7 @@ export interface SessionReplayConfiguration { } const DEFAULTS = { - replaySampleRate: 20, + replaySampleRate: 0, defaultPrivacyLevel: SessionReplayPrivacy.MASK }; diff --git a/packages/react-native-session-replay/src/__tests__/SessionReplay.test.ts b/packages/react-native-session-replay/src/__tests__/SessionReplay.test.ts index ca4a32e8a..d2001c26e 100644 --- a/packages/react-native-session-replay/src/__tests__/SessionReplay.test.ts +++ b/packages/react-native-session-replay/src/__tests__/SessionReplay.test.ts @@ -18,7 +18,7 @@ describe('SessionReplay', () => { SessionReplay.enable(); expect(NativeModules.DdSessionReplay.enable).toHaveBeenCalledWith( - 20, + 0, 'MASK' ); });