Skip to content

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

Merged
antonis merged 3 commits into
masterfrom
antonis/react-native-pause-resume-app-hang-docs
May 28, 2026
Merged

docs(react-native): Add pause/resume app hang tracking API#17817
antonis merged 3 commits into
masterfrom
antonis/react-native-pause-resume-app-hang-docs

Conversation

@antonis

@antonis antonis commented May 20, 2026

Copy link
Copy Markdown
Contributor

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

vercel Bot commented May 20, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
develop-docs Ready Ready Preview, Comment May 28, 2026 5:31am
sentry-docs Ready Ready Preview, Comment May 28, 2026 5:31am

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

@coolguyzone coolguyzone left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM!

Comment thread docs/platforms/react-native/configuration/app-hangs.mdx
@antonis antonis merged commit d767cc8 into master May 28, 2026
21 checks passed
@antonis antonis deleted the antonis/react-native-pause-resume-app-hang-docs branch May 28, 2026 16:23
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

3 participants