Skip to content

Commit d7c114f

Browse files
philprimekahest
andauthored
chore(apple): Remove enableExperimentalViewRenderer after GA (#13597)
Co-authored-by: Karl Heinz Struggl <[email protected]>
1 parent 1204b7f commit d7c114f

File tree

3 files changed

+11
-17
lines changed

3 files changed

+11
-17
lines changed

docs/platforms/apple/guides/ios/session-replay/index.mdx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,6 @@ SentrySDK.start(configureOptions: { options in
4141

4242
options.sessionReplay.onErrorSampleRate = 1.0
4343
options.sessionReplay.sessionSampleRate = 0.1
44-
45-
// We recommend the ~5x more performant experimental view renderer
46-
options.sessionReplay.enableExperimentalViewRenderer = true
4744
})
4845
```
4946

docs/platforms/apple/guides/ios/session-replay/performance-overhead.mdx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -61,20 +61,20 @@ SentrySDK.start(configureOptions: { options in
6161
})
6262
```
6363

64-
### Enable Experimental View Renderer
64+
### Disable View Renderer V2
6565

66-
<Alert>
67-
In case you are noticing issues with the experimental view renderer, please
68-
report the issue on [GitHub](https://github.com/getsentry/sentry-cocoa).
69-
</Alert>
70-
71-
Starting with v8.47.0 you can enable the up-to-5x-faster new view renderer, reducing the impact of Session Replay on the main thread and potential frame drops.
66+
Starting with v8.50.0, the up-to-5x-faster view renderer V2 is used by default, reducing the impact of Session Replay on the main thread and potential frame drops. In previous versions (v8.47.0 and above), you can already enable it by setting `enableExperimentalViewRenderer=true`.
7267

73-
While we do recommend the new view renderer, it's currently considered an experimental feature to further evaluate its stability.
74-
After the evaluation phase we are going to enable it by default.
68+
While we do recommend the new view renderer, if you are experiencing issues, you can opt out of using it by setting the following flag:
7569

7670
```swift
7771
SentrySDK.start(configureOptions: { options in
78-
options.sessionReplay.enableExperimentalViewRenderer = true
72+
options.sessionReplay.enableViewRendererV2 = false
7973
})
8074
```
75+
76+
<Alert title="✨ Note">
77+
78+
The old view renderer will be deprecated and removed in a future release.
79+
80+
</Alert>

docs/platforms/react-native/session-replay/index.mdx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,7 @@ Sentry.init({
4141
dsn: "___PUBLIC_DSN___",
4242
replaysSessionSampleRate: 0.1,
4343
replaysOnErrorSampleRate: 1.0,
44-
integrations: [Sentry.mobileReplayIntegration({
45-
// We recommend the ~5x more performant experimental view renderer
46-
enableExperimentalViewRenderer: true,
47-
})],
44+
integrations: [Sentry.mobileReplayIntegration()],
4845
});
4946
```
5047

0 commit comments

Comments
 (0)