Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(apple): App hanging when Watchdog termination is enabled #7681

Merged
merged 4 commits into from
Aug 28, 2023
Merged
Changes from 3 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 src/platforms/apple/common/configuration/app-hangs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Recording the stack trace precisely when the app hang occurs works reliably if t

The SDK reports an app hang immediately, but doesn’t report the exact duration because the [watchdog](https://developer.apple.com/documentation/xcode/addressing-watchdog-terminations) could kill the app anytime if it's blocking the main thread.

When watchdog termination tracking is enabled, the app hang code is disabled, runs in the background, and won’t report app hangs. This is done to minimize the number of false errors being reported by watchdog termination tracking, (such as if the OS kills an app causing an app hang).
When watchdog termination tracking is enabled, the app hang code runs in the background, even if `enableAppHangTracking` is disabled, and won’t report app hangs. This is done to minimize the number of false errors being reported by watchdog termination tracking, (such as if the OS kills an app causing an app hang).
brustolin marked this conversation as resolved.
Show resolved Hide resolved

Because the app hang detection integration uses SentryCrashIntegration to capture the stack trace when creating app hang events, SentryCrashIntegration has to be enabled for the integration to work.

Expand Down
Loading