-
Notifications
You must be signed in to change notification settings - Fork 107
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: support bridgeless #633
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
🦋 Changeset detectedLatest commit: cc84ed3 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Everything looks green, except for the RN 0.73 bridgeless which is expected. I've also fixed multiple issues on Android:
|
Canary build for testing available here: https://www.npmjs.com/package/@callstack/repack/v/4.0.1-canary-20240603172122 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work! I've left few minor comments
cpp & objc is now reformatted with |
Summary
add support for bridgeless in new arch for RN >= 0.74 with compat for all other variants. RN 0.74 introduced way more compatibility layers to handle bridgeless on new arch which was not possible on 0.73. Since there is no way to get into the runtime on bridgeless on 0.73, it is excluded from support (it was not turned on by default before 0.74 so it's a rare scenario). This seems to be rather common amongst other libraries having similar issues.
Notes
CallInvoker
API on both platformsBridgelessCatalystInstance
since it was introduced in0.74
-thanks to that we don't need to fork the codeneeded to fork the code on Android because ofFrameworkAPI
requirement that causes compilation error 😔Test plan