docs(flutter): Add ANR and App Hangs guidance#17881
Open
buenaflor wants to merge 14 commits into
Open
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>
Contributor
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>
Contributor
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>
Contributor
Author
|
@coolguyzone is this PR good to go? |
romtsn
reviewed
May 29, 2026
romtsn
approved these changes
May 29, 2026
Move the Android Gradle Plugin configuration ahead of the build step since it runs during the Android build, add an iOS/macOS dSYM upload note, and simplify the ANR and App Hangs symbolication pointer. Co-authored-by: Cursor <cursoragent@cursor.com>
The Flutter SDK supports the Sentry Android Gradle Plugin's uploadNativeSymbols flag, so drop the contradicting note from the manual upload docs. Co-authored-by: Cursor <cursoragent@cursor.com>
Recommend uploading all available debug files even without split-debug-info or obfuscate, and scope the Android Gradle Plugin setup to R8/ProGuard builds. Co-authored-by: Cursor <cursoragent@cursor.com>
Wrap the Sentry Android Gradle Plugin configuration in an Expandable since it is only required when R8 or ProGuard is enabled. This keeps the debug symbols guide focused for the common case where JVM stack traces are already readable. Co-Authored-By: Claude <noreply@anthropic.com> Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

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