Skip to content

Commit 4c39976

Browse files
fix(apple): AppHangs need SentryCrash (#5785)
Point out that the app hang integration depends on the SentryCrashIntegration. Co-authored-by: Liza Mock <[email protected]>
1 parent 4ac7330 commit 4c39976

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/platforms/apple/common/configuration/app-hangs.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ The event has the stack trace of all running threads so you can easily detect wh
1414

1515
The app hangs code runs in the background when disabled when keeping out-of-memory tracking enabled, but it won't report app hangs. The out-of-memory tracking otherwise would report false errors if the OS kills your app caused by an app hang.
1616

17+
Because the app hang detection integration uses SentryCrashIntegration to capture the stack trace when creating app hang events, if SentryCrashIntegration is disabled, the integration won’t work.
18+
1719
To use this feature, add this to your code:
1820

1921
```swift {tabTitle:Swift}

0 commit comments

Comments
 (0)