You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ref(session-replay): iOS: Use enableViewRendererV2 instead of the dep… (#4815)
* ref(session-replay): iOS: Use enableViewRendererV2 instead of the deprecated enableExperimentalViewRenderer
* Adds changelog
* Fix doc comment wording
Co-authored-by: LucasZF <lucas-zimerman1@hotmail.com>
* Leave the undefined value as null so that it is set by the Cocoa SDK
---------
Co-authored-by: LucasZF <lucas-zimerman1@hotmail.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,10 @@
13
13
- Expo Updates Context is passed to native after native init to be available for crashes ([#4808](https://github.com/getsentry/sentry-react-native/pull/4808))
14
14
- Expo Updates Context values should all be lowercase ([#4809](https://github.com/getsentry/sentry-react-native/pull/4809))
15
15
16
+
### Changes
17
+
18
+
- Renames `enableExperimentalViewRenderer` to `enableViewRendererV2` which is enabled by default for up to 5x times more performance in Session Replay on iOS ([#4815](https://github.com/getsentry/sentry-react-native/pull/4815))
19
+
16
20
### Dependencies
17
21
18
22
- Bump CLI from v2.43.1 to v2.45.0 ([#4804](https://github.com/getsentry/sentry-react-native/pull/4804), [#4818](https://github.com/getsentry/sentry-react-native/pull/4818))
* - Experiment: This is an experimental feature and is therefore disabled by default.
42
42
*
43
-
* @default false
43
+
* @deprecated Use `enableViewRendererV2` instead.
44
44
*/
45
45
enableExperimentalViewRenderer?: boolean;
46
46
47
+
/**
48
+
* Enables up to 5x faster new view renderer used by the Session Replay integration on iOS.
49
+
*
50
+
* Enabling this flag will reduce the amount of time it takes to render each frame of the session replay on the main thread, therefore reducing
51
+
* interruptions and visual lag. [Our benchmarks](https://github.com/getsentry/sentry-cocoa/pull/4940) have shown a significant improvement of
52
+
* **up to 4-5x faster rendering** (reducing `~160ms` to `~36ms` per frame) on older devices.
53
+
*
54
+
* - Experiment: In case you are noticing issues with the new view renderer, please report the issue on [GitHub](https://github.com/getsentry/sentry-cocoa).
55
+
* Eventually, we will remove this feature flag and use the new view renderer by default.
56
+
*
57
+
* @default true
58
+
*/
59
+
enableViewRendererV2?: boolean;
60
+
47
61
/**
48
62
* Enables up to 5x faster but incomplete view rendering used by the Session Replay integration on iOS.
0 commit comments