Skip to content

Conversation

sharifhh
Copy link
Contributor

@sharifhh sharifhh commented Aug 7, 2025

📢 Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring

📜 Description

In React Native 81 Hermes changes their runtime access pattern.

💡 Motivation and Context

In React Native 81 Hermes changes their runtime access pattern.
so this checks if new hermes runtime is available it uses it, otherwise it uses old code.

💚 How did you test it?

I installed Sentry on React Native 81 project and did a build, it didn't work.
I applied this patch then it worked.

I also tried the patch with react native 80 and 79, and all went well.

📝 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

🔮 Next steps

@sharifhh
Copy link
Contributor Author

sharifhh commented Aug 7, 2025

@lucas-zimerman I fixed the lint issue and added the changelog

@lucas-zimerman
Copy link
Collaborator

Thank you for your incredible fixes!!!

I have approved CI to run, but I will only be able to fully review the PR tomorrow morning.

@sharifhh
Copy link
Contributor Author

sharifhh commented Aug 7, 2025

Thanks a lot @lucas-zimerman ❤️

no worries I don't think it is urgent since RN 81 is still in RC, not gonna be released tmw 😂

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.

Awesome work @sharifhh 🚀
Thanks again for your contribution 🙇
Apart from the changelog comment and the question LGTM.

Copy link
Collaborator

@lucas-zimerman lucas-zimerman left a comment

Choose a reason for hiding this comment

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

All good from my side, LGTM! and thank you for the contribution!

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.

Thank you for your contribution @sharifhh 🙇

@antonis antonis enabled auto-merge (squash) August 8, 2025 10:41
@antonis antonis merged commit eb07ba3 into getsentry:main Aug 8, 2025
51 of 52 checks passed
nathan-ahn pushed a commit to nathan-ahn/sentry-react-native that referenced this pull request Sep 14, 2025
* Update sentry_utils.rb

* Update RNSentry.mm

* Update RNSentry.podspec

* lint clang and add changelog

* PR review comments

* Update CHANGELOG.md

---------

Co-authored-by: Antonis Lilis <[email protected]>
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.

3 participants