diff --git a/modules/sentry-cocoa b/modules/sentry-cocoa index aa91bcf6bd..485e0622e0 160000 --- a/modules/sentry-cocoa +++ b/modules/sentry-cocoa @@ -1 +1 @@ -Subproject commit aa91bcf6bd6f383dbc49f38bf785d1d775c4f751 +Subproject commit 485e0622e00d60d71eb6b519822188e2eb7c29e3 diff --git a/scripts/patch-cocoa-bindings.cs b/scripts/patch-cocoa-bindings.cs index 2afa6c9e40..cd71826258 100644 --- a/scripts/patch-cocoa-bindings.cs +++ b/scripts/patch-cocoa-bindings.cs @@ -83,6 +83,7 @@ .RemoveProperty("SentryObjCOptions", "BeforeSendWithHint") .RemoveProperty("SentryObjCOptions", "BeforeBreadcrumbWithHint") .RemoveProperty("SentryObjCOptions", "ConfigureProfiling") + .RemoveProperty("SentryObjCOptions", "WebViewTracing") // 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`). diff --git a/src/Sentry.Bindings.Cocoa/StructsAndEnums.cs b/src/Sentry.Bindings.Cocoa/StructsAndEnums.cs index 2d46e29c03..22d364c734 100644 --- a/src/Sentry.Bindings.Cocoa/StructsAndEnums.cs +++ b/src/Sentry.Bindings.Cocoa/StructsAndEnums.cs @@ -207,7 +207,13 @@ internal enum SentryObjCMetricKitMetricReport : ulong MetalFramesPerSecond = 1uL << 49, MetalFrameCount = 1uL << 50, MetalActiveDrawingDuration = 1uL << 51, - All = (1uL << 52) - 0x1 + LaunchTimeToFirstDraw = 1uL << 52, + LaunchResumeTime = 1uL << 53, + LaunchOptimizedTimeToFirstDraw = 1uL << 54, + LaunchExtended = 1uL << 55, + ResponsivenessHangTime = 1uL << 56, + CellularConditionTime = 1uL << 57, + All = (1uL << 58) - 0x1 } [Native]