Skip to content

Use Native SDK beforeBreadcrumb callback#1253

Merged
tustanivsky merged 5 commits intomainfrom
feat/native-before-breadcrumb
Feb 24, 2026
Merged

Use Native SDK beforeBreadcrumb callback#1253
tustanivsky merged 5 commits intomainfrom
feat/native-before-breadcrumb

Conversation

@tustanivsky
Copy link
Collaborator

This PR remove custom beforeBreadcrumb invocation logic for sentry-native platforms and rely on the native SDK's sentry_options_set_before_breadcrumb callback instead (added via getsentry/sentry-native#1534 in 0.13.0).

Also, integration tests verifying breadcrumb discard, modification, and pass-through via the handler were added.

Closes #1247

#skip-changelog

@github-actions
Copy link
Contributor

github-actions bot commented Feb 23, 2026

Semver Impact of This PR

None (no version bump detected)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


This PR will not appear in the changelog.


🤖 This preview updates automatically when you update the PR.

@tustanivsky tustanivsky marked this pull request as ready for review February 23, 2026 11:21
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

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.

@tustanivsky tustanivsky requested a review from mujacica February 23, 2026 14:45
@tustanivsky tustanivsky requested a review from jpnurmi February 24, 2026 08:17
@tustanivsky tustanivsky merged commit de91d37 into main Feb 24, 2026
47 of 48 checks passed
@tustanivsky tustanivsky deleted the feat/native-before-breadcrumb branch February 24, 2026 08:46
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.

Use sentry-native beforeBreadcrumb callback instead of Unreal's custom solution

2 participants