From d6296d9e686dc79e7cc644098eef0bf0cabfe8e1 Mon Sep 17 00:00:00 2001 From: James Crosswell Date: Wed, 2 Jul 2025 12:10:35 +1200 Subject: [PATCH 1/3] App Hang Tracking for iOS is now disabled by default Resolves #4150: - https://github.com/getsentry/sentry-dotnet/issues/4150#issuecomment-3025873457 --- src/Sentry/Platforms/Cocoa/SentryOptions.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Sentry/Platforms/Cocoa/SentryOptions.cs b/src/Sentry/Platforms/Cocoa/SentryOptions.cs index 2197098d8a..02ce449556 100644 --- a/src/Sentry/Platforms/Cocoa/SentryOptions.cs +++ b/src/Sentry/Platforms/Cocoa/SentryOptions.cs @@ -61,12 +61,12 @@ internal NativeOptions(SentryOptions options) /// /// When enabled, the SDK tracks when the application stops responding for a specific amount of /// time defined by the option. - /// The default value is true (enabled). + /// The default value is false (disabled). /// /// /// See https://docs.sentry.io/platforms/apple/configuration/app-hangs/ /// - public bool EnableAppHangTracking { get; set; } = true; + public bool EnableAppHangTracking { get; set; } = false; /// /// IMPORTANT: This feature is experimental and may have bugs. From 6322c8481b9d3ec5783424734a3e9a5c4e76417e Mon Sep 17 00:00:00 2001 From: James Crosswell Date: Wed, 2 Jul 2025 12:13:51 +1200 Subject: [PATCH 2/3] Update CHANGELOG.md --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ecd487a840..2d46be5395 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### API changes + +- App Hang Tracking for iOS is now disabled by default. You'll need to enable this manually if you want to use it in your applications. ([#4320](https://github.com/getsentry/sentry-dotnet/pull/4320)) + ### Features - Added StartSpan and GetTransaction methods to the SentrySdk ([#4303](https://github.com/getsentry/sentry-dotnet/pull/4303)) From bbf981c907b347d0b4f424d8f8b42ca3d3f074ad Mon Sep 17 00:00:00 2001 From: James Crosswell Date: Mon, 7 Jul 2025 14:48:40 +1200 Subject: [PATCH 3/3] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2d46be5395..7af0665a22 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ ### API changes -- App Hang Tracking for iOS is now disabled by default. You'll need to enable this manually if you want to use it in your applications. ([#4320](https://github.com/getsentry/sentry-dotnet/pull/4320)) +- App Hang Tracking for iOS is now disabled by default, until this functionality is more stable. If you want to use it in your applications then you'll need to enable this manually. ([#4320](https://github.com/getsentry/sentry-dotnet/pull/4320)) ### Features