Skip to content

Commit 54ba0e8

Browse files
committed
Changelog
1 parent 851c466 commit 54ba0e8

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,26 @@
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))

0 commit comments

Comments
 (0)