Skip to content

Conversation

@krystofwoldrich
Copy link
Contributor

📢 Type of change

  • Bugfix

📜 Description

fixes #4875

I was not able to reproduce the crash by using the SDK, but the code allowed the emit new frame callback could be called without the parentSpanId, which this PR fixes.

💚 How did you test it?

sample app, native tests

📝 Checklist

  • I added tests to verify changes
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • All tests passing
  • No breaking changes

@github-actions
Copy link
Contributor

github-actions bot commented Jun 2, 2025

Android (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 372.23 ms 373.12 ms 0.89 ms
Size 7.15 MiB 8.42 MiB 1.26 MiB

@github-actions
Copy link
Contributor

github-actions bot commented Jun 2, 2025

iOS (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1213.04 ms 1223.27 ms 10.22 ms
Size 3.19 MiB 4.34 MiB 1.16 MiB

@github-actions
Copy link
Contributor

github-actions bot commented Jun 2, 2025

iOS (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1224.53 ms 1230.24 ms 5.71 ms
Size 2.63 MiB 3.77 MiB 1.14 MiB

Copy link
Contributor

@antonis antonis left a comment

Choose a reason for hiding this comment

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

LGTM 🚀
I was not able to reproduce either but the fix makes sense 👍

@github-actions
Copy link
Contributor

github-actions bot commented Jun 3, 2025

Android (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 436.13 ms 422.58 ms -13.54 ms
Size 17.75 MiB 20.15 MiB 2.40 MiB

@krystofwoldrich krystofwoldrich merged commit 8dd26dc into main Jun 3, 2025
72 of 73 checks passed
@krystofwoldrich krystofwoldrich deleted the kw-fix-ttd-ios-crash branch June 3, 2025 10:54
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.

Crash on RNSentryOnDrawReporterView createEmitNewFrameEvent

3 participants