Skip to content

feat: added AndroidNativeAnrEnabled and related options#2671

Open
bitsandfoxes wants to merge 12 commits intochore/new-unity-structurefrom
feat/android-anr-v2
Open

feat: added AndroidNativeAnrEnabled and related options#2671
bitsandfoxes wants to merge 12 commits intochore/new-unity-structurefrom
feat/android-anr-v2

Conversation

@bitsandfoxes
Copy link
Copy Markdown
Contributor

@bitsandfoxes bitsandfoxes commented May 8, 2026

Unity games run in their own game thread that Unity controls. So we keep the flags editor flag AnrDetectionEnabled and AndroidNativeAnrEnabled separated.

There are a couple of follow-ups:

  1. The sentry-java manifest needs to accept the historic anr capture flag, see feat: added ANR_REPORT_HISTORICAL to the ManifestMetaDataReader sentry-java#5387
  2. Improvements to our C# anr capture mechanism (i.e. to actually capture stack traces and make them actually actionable), see ANR Detection Improvements #1961
  3. Add ANR capture to e2e tests
  4. Add native ANR trigger to samples

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 8, 2026

Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against 790b9fb

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