Skip to content
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

Fix CallInvokerHolderImpl backwards compatibility #6601

Merged
merged 5 commits into from
Oct 16, 2024

Conversation

bartlomiejbloniarz
Copy link
Contributor

@bartlomiejbloniarz bartlomiejbloniarz commented Oct 16, 2024

Summary

This PR changes the way CallInvokerHandlerImpl is obtained on older versions of RN. It seems that there is a bug in our build checking CI, since calling context.getJSCallInvokerHolder() is not valid on older versions of RN.

Test plan

@bartlomiejbloniarz bartlomiejbloniarz added this pull request to the merge queue Oct 16, 2024
Merged via the queue into main with commit 67a9f2d Oct 16, 2024
15 checks passed
@bartlomiejbloniarz bartlomiejbloniarz deleted the @bartlomiejbloniarz/fix-call-invoker branch October 16, 2024 15:22
bartlomiejbloniarz added a commit that referenced this pull request Oct 16, 2024
## Summary
This PR changes the way `CallInvokerHandlerImpl` is obtained on older
versions of RN. It seems that there is a bug in our build checking CI,
since calling `context.getJSCallInvokerHolder()` is not valid on older
versions of RN.

## Test plan
bartlomiejbloniarz added a commit that referenced this pull request Oct 16, 2024
## Summary
This PR changes the way `CallInvokerHandlerImpl` is obtained on older
versions of RN. It seems that there is a bug in our build checking CI,
since calling `context.getJSCallInvokerHolder()` is not valid on older
versions of RN.

## Test plan
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