Skip to content

fix(ndk): breadcrumb data serialization#1808

Merged
bitsandfoxes merged 3 commits into
masterfrom
fix/android-breadcrumb-data
Jun 18, 2026
Merged

fix(ndk): breadcrumb data serialization#1808
bitsandfoxes merged 3 commits into
masterfrom
fix/android-breadcrumb-data

Conversation

@bitsandfoxes

@bitsandfoxes bitsandfoxes commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Came up through getsentry/sentry-unity#2720

When passing the breadcrumbs to the NDK, sentry-java hands over a serialized json string, see here.

This caused the data bag to end up double wrapped.
Before

"data": { "data": "{\"integration_test_key\":\"integration_test_value\"}" }

After

"data": { "integration_test_key": "integration_test_value" }

Functional change in sentry.c

@bitsandfoxes bitsandfoxes merged commit 25f724a into master Jun 18, 2026
64 checks passed
@bitsandfoxes bitsandfoxes deleted the fix/android-breadcrumb-data branch June 18, 2026 11:52
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