Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion modules/sentry-cocoa
Submodule sentry-cocoa updated 322 files
1 change: 1 addition & 0 deletions scripts/patch-cocoa-bindings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
.PropertyToMethod("Sentry*", "Serialize")
.PropertyToMethod("SentryObjCSpan", "ToTraceHeader")
.PropertyToMethod("SentryObjCTraceContext", "ToBaggage")
.PropertyToMethod("SentryObjCInternalScopeApi", "CreateScope")
// Verify the rest
.VerifyProperty("*Sentry*", "*", "MethodToProperty") // TODO: replace broad patterns with one-by-one verification
.VerifyProperty("SentryObjCOptions", "*Targets", "StronglyTypedNSArray")
Expand Down
16 changes: 16 additions & 0 deletions src/Sentry.Bindings.Cocoa/ApiDefinitions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1337,6 +1337,10 @@ interface SentryObjCOptions
[Export("maxBreadcrumbs")]
nuint MaxBreadcrumbs { get; set; }

// @property (nonatomic) NSUInteger maxFeatureFlags;
[Export("maxFeatureFlags")]
nuint MaxFeatureFlags { get; set; }

// @property (nonatomic) BOOL enableNetworkBreadcrumbs;
[Export("enableNetworkBreadcrumbs")]
bool EnableNetworkBreadcrumbs { get; set; }
Expand Down Expand Up @@ -1750,6 +1754,18 @@ interface SentryObjCInternalScopeApi
// -(NSDictionary<NSString *,NSDictionary<NSString *,id> *> * _Nonnull)serializedContexts;
[Export("serializedContexts")]
NSDictionary<NSString, NSDictionary<NSString, NSObject>> SerializedContexts { get; }

// -(void)withCurrentScope:(SentryObjCScope * _Nonnull)scope callback:(void (^ _Nonnull)(void))callback;
[Export("withCurrentScope:callback:")]
void WithCurrentScope(SentryObjCScope scope, Action callback);

// -(SentryObjCScope * _Nonnull)createScope;
[Export("createScope")]
SentryObjCScope CreateScope();

// -(SentryObjCScope * _Nonnull)cloneScope:(SentryObjCScope * _Nonnull)scope;
[Export("cloneScope:")]
SentryObjCScope CloneScope(SentryObjCScope scope);
}

// @interface SentryObjCInternalSdkApi : NSObject
Expand Down
Loading