Skip to content

feat(react-native): Document Android NDK app hang tracking options - #18901

Open
antonis wants to merge 2 commits into
masterfrom
feat/rn-android-ndk-app-hang-tracking
Open

feat(react-native): Document Android NDK app hang tracking options#18901
antonis wants to merge 2 commits into
masterfrom
feat/rn-android-ndk-app-hang-tracking

Conversation

@antonis

@antonis antonis commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

DESCRIBE YOUR PR

Documents two new Android-only React Native SDK options that surface sentry-native's heartbeat-based app-hang detection:

  • enableNdkAppHangTracking (boolean, default false)
  • ndkAppHangTimeoutIntervalMillis (number, default 5000)

Changes:

  • configuration/options.mdx — added <SdkOption> entries for both options, next to the other Android options.
  • configuration/app-hangs.mdx — added an "App Hang Tracking on Android" section with init examples, and clarified that the existing enableAppHangTracking / appHangTimeoutInterval options are iOS-only.

Accompanies the SDK change in getsentry/sentry-react-native#6548.

IS YOUR CHANGE URGENT?

  • None: Not urgent, can wait up to 1 week+

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

⚠️ Should be merged after getsentry/sentry-react-native#6548 is released

EXTRA RESOURCES

🤖 Generated with Claude Code

Add docs for enableNdkAppHangTracking and ndkAppHangTimeoutIntervalMillis,
which surface sentry-native's heartbeat-based app-hang detection on Android.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 31, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
sentry-docs Ready Ready Preview Jul 31, 2026 9:02am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
develop-docs Ignored Ignored Preview Jul 31, 2026 9:02am

Request Review

@codeowner-assignment
codeowner-assignment Bot requested a review from a team July 31, 2026 08:45
@antonis
antonis requested review from alwx and lucas-zimerman July 31, 2026 08:48
@antonis
antonis marked this pull request as ready for review July 31, 2026 08:48
Comment thread docs/platforms/react-native/common/configuration/app-hangs.mdx Outdated
Address review feedback: the iOS app hang options are not iOS-only.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.

1 participant