From b53bee834a0a632972180da1b757486a61341f15 Mon Sep 17 00:00:00 2001 From: Philipp Hofmann Date: Mon, 10 Jun 2024 11:07:34 +0200 Subject: [PATCH] rename to enableMetricKitRawPayload --- docs/platforms/apple/common/configuration/metric-kit.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/platforms/apple/common/configuration/metric-kit.mdx b/docs/platforms/apple/common/configuration/metric-kit.mdx index 0fc00e09e7c57..ad44cae26ddde 100644 --- a/docs/platforms/apple/common/configuration/metric-kit.mdx +++ b/docs/platforms/apple/common/configuration/metric-kit.mdx @@ -35,14 +35,14 @@ SentrySDK.start { options in }]; ``` -You can enable `enableMetricKitAttachments` to view the raw MetricKit diagnostic payload in JSON format as an attachment on the converted event in Sentry. This feature is available on Cocoa 8.29.0 and up. +You can enable `enableMetricKitRawPayload` to view the raw MetricKit diagnostic payload in JSON format as an attachment on the converted event in Sentry. This feature is available on Cocoa 8.29.0 and up. ```swift {tabTitle:Swift} import Sentry SentrySDK.start { options in options.dsn = "___PUBLIC_DSN___" - options.enableMetricKitAttachments = true + options.enableMetricKitRawPayload = true } ``` @@ -51,6 +51,6 @@ SentrySDK.start { options in [SentrySDK startWithConfigureOptions:^(SentryOptions *options) { options.dsn = @"___PUBLIC_DSN___"; - options.enableMetricKitAttachments = YES; + options.enableMetricKitRawPayload = YES; }]; ```