Skip to content

Commit

Permalink
Set default session replay sample rate to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
louiszawadzki committed Jan 10, 2024
1 parent 614d61e commit 992c6c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/react-native-session-replay/src/SessionReplay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export interface SessionReplayConfiguration {
}

const DEFAULTS = {
replaySampleRate: 20,
replaySampleRate: 0,
defaultPrivacyLevel: SessionReplayPrivacy.MASK
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ describe('SessionReplay', () => {
SessionReplay.enable();

expect(NativeModules.DdSessionReplay.enable).toHaveBeenCalledWith(
20,
0,
'MASK'
);
});
Expand Down

0 comments on commit 992c6c9

Please sign in to comment.