Skip to content

Commit 6d0b605

Browse files
authored
ref: Removes defaultIntegrations from SentryOptions (#6664)
1 parent 939d583 commit 6d0b605

File tree

4 files changed

+6
-38
lines changed

4 files changed

+6
-38
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
- Removes deprecated useSpan function (#5591)
1515
- Makes app hang tracking V2 the default and removes the option to enable/disable it (#5615)
1616
- Removes `integrations` property from `SentryOptions` (#5749)
17+
- Removes `defaultIntegrations` function from `SentryOptions` (#6664)
1718
- Makes `SentryEventDecodable` internal (#5808)
1819
- The `span` property on `SentryScope` is now readonly (#5866)
1920
- Removes deprecated SentryDebugImageProvider class (#5598)

Sources/Sentry/Public/SentryOptions.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -207,11 +207,6 @@ NS_SWIFT_NAME(Options)
207207
@property (nullable, nonatomic, copy)
208208
SentryOnCrashedLastRunCallback onCrashedLastRun NS_SWIFT_SENDABLE;
209209

210-
/**
211-
* Array of default integrations. Will be used if @c integrations is @c nil .
212-
*/
213-
+ (NSArray<NSString *> *)defaultIntegrations;
214-
215210
/**
216211
* Indicates the percentage of events being sent to Sentry.
217212
* @discussion Specifying @c 0 discards all events, @c 1.0 or @c nil sends all events, @c 0.01

Sources/Sentry/include/SentryOptions+Private.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ FOUNDATION_EXPORT NSString *const kSentryDefaultEnvironment;
3232
@property (nonatomic, nullable, strong) SentryProfileOptions *profiling;
3333
#endif // SENTRY_TARGET_PROFILING_SUPPORTED
3434

35+
/**
36+
* Array of default integrations. Will be used if @c integrations is @c nil .
37+
*/
38+
+ (NSArray<NSString *> *)defaultIntegrations;
39+
3540
#if SENTRY_TARGET_REPLAY_SUPPORTED
3641

3742
- (BOOL)enableViewRendererV2;

sdk_api.json

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -16852,39 +16852,6 @@
1685216852
}
1685316853
]
1685416854
},
16855-
{
16856-
"kind": "Function",
16857-
"name": "defaultIntegrations",
16858-
"printedName": "defaultIntegrations()",
16859-
"children": [
16860-
{
16861-
"kind": "TypeNominal",
16862-
"name": "Array",
16863-
"printedName": "[Swift.String]",
16864-
"children": [
16865-
{
16866-
"kind": "TypeNominal",
16867-
"name": "String",
16868-
"printedName": "Swift.String",
16869-
"usr": "s:SS"
16870-
}
16871-
],
16872-
"usr": "s:Sa"
16873-
}
16874-
],
16875-
"declKind": "Func",
16876-
"usr": "c:objc(cs)SentryOptions(cm)defaultIntegrations",
16877-
"moduleName": "Sentry",
16878-
"static": true,
16879-
"isOpen": true,
16880-
"objc_name": "defaultIntegrations",
16881-
"declAttributes": [
16882-
"DiscardableResult",
16883-
"ObjC",
16884-
"Dynamic"
16885-
],
16886-
"funcSelfKind": "NonMutating"
16887-
},
1688816855
{
1688916856
"kind": "Var",
1689016857
"name": "sampleRate",

0 commit comments

Comments
 (0)