Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add mechanism to ANR event #1955

Merged
merged 5 commits into from
Jan 13, 2025
Merged

feat: Add mechanism to ANR event #1955

merged 5 commits into from
Jan 13, 2025

Conversation

bitsandfoxes
Copy link
Contributor

@bitsandfoxes bitsandfoxes commented Jan 9, 2025

Addresses the improvement part of #1954

In line with Java and the V1 ANR watchdog (documented here), the SDK will now add the ANR mechanism when capturing an ANR event.

Relates to:

Copy link
Contributor

github-actions bot commented Jan 9, 2025

Fails
🚫 Please consider adding a changelog entry for the next release.
Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Instructions and example for changelog

Please add an entry to CHANGELOG.md to the "Unreleased" section. Make sure the entry includes this PR's number.

Example:

## Unreleased

- Add mechanism to ANR event ([#1955](https://github.com/getsentry/sentry-unity/pull/1955))

If none of the above apply, you can opt out of this check by adding #skip-changelog to the PR description.

Generated by 🚫 dangerJS against 6428b70

Copy link
Member

@bruno-garcia bruno-garcia left a comment

Choose a reason for hiding this comment

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

Missing tests

src/Sentry.Unity/Integrations/AnrIntegration.cs Outdated Show resolved Hide resolved
Copy link
Member

@bruno-garcia bruno-garcia left a comment

Choose a reason for hiding this comment

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

nice! Thanks Stefan

@bitsandfoxes bitsandfoxes merged commit d1e7db2 into main Jan 13, 2025
3 of 4 checks passed
@bitsandfoxes bitsandfoxes deleted the feat/add-anr-mechanism branch January 13, 2025 17:47
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.

2 participants