File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
static/app/gettingStartedDocs/android Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -104,12 +104,12 @@ SentryAndroid.init(context) { options ->
104104 options.isDebug = true
105105
106106 // Currently under experimental options:
107- options.experimental.sessionReplay.errorSampleRate = 1.0
107+ options.experimental.sessionReplay.onErrorSampleRate = 1.0
108108 options.experimental.sessionReplay.sessionSampleRate = 1.0
109109}` ;
110110
111111const getReplaySetupSnippetXml = ( ) => `
112- <meta-data android:name="io.sentry.session-replay.error-sample-rate" android:value="1.0" />
112+ <meta-data android:name="io.sentry.session-replay.on- error-sample-rate" android:value="1.0" />
113113<meta-data android:name="io.sentry.session-replay.session-sample-rate" android:value="1.0" />` ;
114114
115115const getReplayConfigurationSnippet = ( ) => `
@@ -434,7 +434,7 @@ const replayOnboarding: OnboardingConfig<PlatformOptions> = {
434434 ] ,
435435 verify : getReplayVerifyStep ( {
436436 replayOnErrorSampleRateName :
437- 'options\u200b.experimental\u200b.sessionReplay\u200b.errorSampleRate ' ,
437+ 'options\u200b.experimental\u200b.sessionReplay\u200b.onErrorSampleRate ' ,
438438 replaySessionSampleRateName :
439439 'options\u200b.experimental\u200b.sessionReplay\u200b.sessionSampleRate' ,
440440 } ) ,
You can’t perform that action at this time.
0 commit comments