Skip to content

Commit 4a608d4

Browse files
App Hang Tracking for iOS is now disabled by default (#4320)
Resolves #4150: - #4150 (comment)
1 parent 6da328b commit 4a608d4

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## Unreleased
44

5+
### API changes
6+
7+
- 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))
8+
59
### Features
610

711
- Added StartSpan and GetTransaction methods to the SentrySdk ([#4303](https://github.com/getsentry/sentry-dotnet/pull/4303))

src/Sentry/Platforms/Cocoa/SentryOptions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,12 @@ internal NativeOptions(SentryOptions options)
6161
/// <summary>
6262
/// When enabled, the SDK tracks when the application stops responding for a specific amount of
6363
/// time defined by the <see cref="AppHangTimeoutInterval"/> option.
64-
/// The default value is <c>true</c> (enabled).
64+
/// The default value is <c>false</c> (disabled).
6565
/// </summary>
6666
/// <remarks>
6767
/// See https://docs.sentry.io/platforms/apple/configuration/app-hangs/
6868
/// </remarks>
69-
public bool EnableAppHangTracking { get; set; } = true;
69+
public bool EnableAppHangTracking { get; set; } = false;
7070

7171
/// <summary>
7272
/// IMPORTANT: This feature is experimental and may have bugs.

0 commit comments

Comments
 (0)