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 401 files
2 changes: 2 additions & 0 deletions scripts/patch-cocoa-bindings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@
.RemoveProperty("SentryObjCOptions", "BeforeSendWithHint")
.RemoveProperty("SentryObjCOptions", "BeforeBreadcrumbWithHint")
.RemoveProperty("SentryObjCOptions", "ConfigureProfiling")
// Experimental MetricKit options; bind SentryObjCMetricKitOptions too if .NET ever exposes MetricKit.
.RemoveProperty("SentryObjCExperimentalOptions", "Metrickit")
// SentryObjCSDK is both the public entry point and the hybrid-SDK gateway (via `internal`).
// Keep the public members the .NET SDK calls plus the `internal` accessor; drop the rest, whose
// signatures reference SentryObjC* types we don't whitelist.
Expand Down
9 changes: 9 additions & 0 deletions src/Sentry.Bindings.Cocoa/ApiDefinition.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1271,6 +1271,7 @@ interface SentryObjCTraceContext
[Internal]
interface SentryObjCExperimentalOptions
{

// @property (nonatomic) BOOL enableUnhandledCPPExceptionsV2;
[Export("enableUnhandledCPPExceptionsV2")]
bool EnableUnhandledCPPExceptionsV2 { get; set; }
Expand Down Expand Up @@ -1805,6 +1806,14 @@ interface SentryObjCInternalSdkApi
[Internal]
interface SentryObjCInternalSerializerApi
{
// -(NSDictionary<NSString *,id> * _Nonnull)serializeScope:(SentryObjCScope * _Nonnull)scope;
[Export("serializeScope:")]
NSDictionary<NSString, NSObject> SerializeScope(SentryObjCScope scope);

// -(NSDictionary<NSString *,id> * _Nonnull)serializeDebugMeta:(SentryObjCDebugMeta * _Nonnull)debugMeta;
[Export("serializeDebugMeta:")]
NSDictionary<NSString, NSObject> SerializeDebugMeta(SentryObjCDebugMeta debugMeta);

// -(NSDictionary<NSString *,id> * _Nonnull)serializeEvent:(SentryObjCEvent * _Nonnull)event;
[Export("serializeEvent:")]
NSDictionary<NSString, NSObject> SerializeEvent(SentryObjCEvent @event);
Expand Down
7 changes: 7 additions & 0 deletions src/Sentry.Bindings.Cocoa/StructsAndEnums.cs
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,13 @@ internal enum SentryObjCRedactRegionType : long
RedactSwiftUI
}

[Native]
internal enum SentryObjCMetricKitHangReportingMode : long
{
Legacy = 0,
FlamegraphAttachment = 1
}

[Native]
internal enum SentryObjCSwizzleMode : long
{
Expand Down
Loading