File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change 88
99## Unreleased
1010
11+ ### Features
12+
13+ - Add new _ experimental_ Canvas Capture Strategy for Session Replay ([ #5301 ] ( https://github.com/getsentry/sentry-react-native/pull/5301 ) )
14+ - A new screenshot capture strategy that uses Android's Canvas API for more accurate and reliable text and image masking
15+ - Any .drawText() or .drawBitmap() calls are replaced by rectangles, ensuring no text or images are present in the resulting output
16+ - Note: If this strategy is used, all text and images will be masked, regardless of any masking configuration
17+ - To enable this feature, set the ` screenshotStrategy ` to ` canvas ` :
18+ ``` js
19+ import * as Sentry from ' @sentry/react-native' ;
20+
21+ Sentry .init ({
22+ integrations: [
23+ Sentry .mobileReplayIntegration ({
24+ screenshotStrategy: ' canvas' ,
25+ }),
26+ ],
27+ });
28+ ```
29+
30+
1131### Dependencies
1232
1333- Bump Bundler Plugins from v4.4 .0 to v4.5 .0 ([#5283 ](https: // github.com/getsentry/sentry-react-native/pull/5283))
You can’t perform that action at this time.
0 commit comments