Skip to content

docs(react-native): Add pause/resume app hang tracking API#17817

Open
antonis wants to merge 2 commits into
masterfrom
antonis/react-native-pause-resume-app-hang-docs
Open

docs(react-native): Add pause/resume app hang tracking API#17817
antonis wants to merge 2 commits into
masterfrom
antonis/react-native-pause-resume-app-hang-docs

Conversation

@antonis
Copy link
Copy Markdown
Contributor

@antonis antonis commented May 20, 2026

DESCRIBE YOUR PR

Documents the new pauseAppHangTracking() and resumeAppHangTracking() APIs exposed in the React Native SDK (getsentry/sentry-react-native#6192).

Adds a "Pause and Resume App Hang Tracking (iOS only)" section to the React Native app hangs configuration page, with a code example and use-case description (system dialogs / permission prompts).

Closes getsentry/sentry-react-native#3909 (docs task).

IS YOUR CHANGE URGENT?

  • Urgent deadline (GA date, etc.):
  • Other deadline:
  • None: Not urgent, can wait up to 1 week+

⚠️ Should be merged after getsentry/sentry-react-native#6192 is shipped

PRE-MERGE CHECKLIST

  • Checked Vercel preview for correctness, including links
  • PR was reviewed and approved by any necessary SMEs (subject matter experts)
  • PR was reviewed and approved by a member of the Sentry docs team

@vercel
Copy link
Copy Markdown

vercel Bot commented May 20, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sentry-docs Ready Ready Preview, Comment May 21, 2026 9:37am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
develop-docs Ignored Ignored Preview May 21, 2026 9:37am

Request Review

Comment thread docs/platforms/react-native/configuration/app-hangs.mdx
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@antonis antonis force-pushed the antonis/react-native-pause-resume-app-hang-docs branch from 9160bfc to 519e600 Compare May 20, 2026 12:43

### Pause and Resume App Hang Tracking (iOS only)

Starting with version 8.12.0, you can pause and resume app hang tracking at runtime. This is useful when showing system dialogs (for example, permission prompts) that block the main thread but aren't real app hangs.
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ The version need to be updated if the implementation doesn't make it in this release

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pushed to the next release with 21c228e

Comment thread docs/platforms/react-native/configuration/app-hangs.mdx Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pause/Resume AppHangs

1 participant