-
-
Notifications
You must be signed in to change notification settings - Fork 360
ref: Remove enableSessionReplayInUnreliableEnvironment use #6046
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -31,7 +31,6 @@ | |
| } | ||
|
|
||
| + (SentryOptions *)createOptionsWithDictionary:(NSDictionary *)options | ||
| isSessionReplayEnabled:(BOOL)isSessionReplayEnabled | ||
| error:(NSError *__autoreleasing *)errorPointer | ||
| { | ||
| NSString *dsn = [self getURLFromDSN:[options valueForKey:@"dsn"]]; | ||
|
|
@@ -115,10 +114,6 @@ | |
| } | ||
| } | ||
|
|
||
| if (isSessionReplayEnabled) { | ||
| [RNSentryExperimentalOptions setEnableSessionReplayInUnreliableEnvironment:YES | ||
| sentryOptions:sentryOptions]; | ||
| } | ||
| return sentryOptions; | ||
| } | ||
|
|
||
|
|
@@ -132,15 +127,13 @@ | |
| } | ||
|
|
||
| + (void)setupWithDictionary:(NSDictionary *_Nonnull)options | ||
| isSessionReplayEnabled:(BOOL)isSessionReplayEnabled | ||
| error:(NSError *_Nonnull *_Nonnull)errorPointer | ||
| { | ||
| SentryOptions *sentryOptions = [self createOptionsWithDictionary:options | ||
| isSessionReplayEnabled:isSessionReplayEnabled | ||
| error:errorPointer]; | ||
| if (!options) { | ||
| return; | ||
|
Comment on lines
127
to
135
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Bug: The nil-check in Suggested FixModify the conditional check from Prompt for AI AgentDid we get this right? 👍 / 👎 to inform future reviews. |
||
| } | ||
|
Check failure on line 136 in packages/core/ios/SentrySDKWrapper.m
|
||
|
|
||
| NSString *sdkVersion = [PrivateSentrySDKOnly getSdkVersionString]; | ||
| [PrivateSentrySDKOnly setSdkName:NATIVE_SDK_NAME andVersionString:sdkVersion]; | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.