docs(flutter): Add ANR and App Hangs guidance#17881
Conversation
Document Flutter responsiveness detection and clarify required debug symbols for readable Android ANR and Apple App Hang stack traces. Co-authored-by: Cursor <cursoragent@cursor.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
Clarify where ANR and App Hang symbolication details belong and keep the configuration page focused on the feature-level guidance. Co-authored-by: Cursor <cursoragent@cursor.com>
Keep the ANR and App Hangs page metadata consistent with the page title. Co-authored-by: Cursor <cursoragent@cursor.com>
Consolidate the platform event naming text on the Flutter ANR and App Hangs page. Co-authored-by: Cursor <cursoragent@cursor.com>
Tighten the ANR and App Hang stack trace guidance to explain why each platform's debug files are needed. Co-authored-by: Cursor <cursoragent@cursor.com>
There was a problem hiding this comment.
Pull request overview
Adds Flutter-specific documentation for ANR and App Hang detection, linking the new guidance from Flutter features, configuration options, and debug-symbol upload docs.
Changes:
- Adds a new Flutter configuration page for ANR/App Hang detection, runtime pause/resume, and symbolication guidance.
- Updates the Flutter features page to point to the new consolidated guide.
- Adds ANR/App Hang symbolication details to the Dart plugin debug-symbols include.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
docs/platforms/dart/guides/flutter/configuration/anr-app-hangs.mdx |
Adds the new Flutter ANR/App Hangs guide. |
docs/platforms/dart/guides/flutter/configuration/options.mdx |
Links the anrEnabled option to the new guide. |
docs/platforms/dart/guides/flutter/features/index.mdx |
Replaces separate native links with the new Flutter-specific ANR/App Hangs link. |
platform-includes/debug-symbols/dart-plugin/dart.flutter.mdx |
Documents symbolication requirements for ANR/App Hang events. |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Apply Prettier formatting to the touched Flutter docs files so the PR lint checks pass. Co-authored-by: Cursor <cursoragent@cursor.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 84e3839. Configure here.
Use regular links for Android and Apple docs from the Flutter ANR and App Hangs page. Co-authored-by: Cursor <cursoragent@cursor.com>
|
@coolguyzone is this PR good to go? |
| ```dart | ||
| await SentryFlutter.init( | ||
| (options) { | ||
| // Android only: ANR |
There was a problem hiding this comment.
dunno if it makes sense to also expose anrProfiling options? but that's probably for a separate PR
There was a problem hiding this comment.
we dont expose it yet
I'll test it and see if it's useful for Flutter use cases

DESCRIBE YOUR PR
Adds Flutter-specific ANR and App Hangs documentation.
Closes getsentry/sentry-dart#3649
IS YOUR CHANGE URGENT?
SLA
Thanks in advance for your help!
PRE-MERGE CHECKLIST
Made with Cursor