-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
[iOS] Fix RCTRCTComposedViewRegistry for Old Arch by adding count and keyEnumerator #43850
Conversation
@WoLewicki can you try to apply this patch? I tried and everything seems to work fine. In the video you can see the examples running and that we are using the old architecture. Screen.Recording.2024-04-04.at.13.39.21.mov |
@cipolleschi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
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.
It works correctly in my setup too 🎉 Only thing I am worried about is using any other NSDictionary
methods in the future and encountering the same problem then.
@cipolleschi merged this pull request in 82b58d0. |
This pull request was successfully merged by @cipolleschi in 82b58d0. When will my fix make it into a release? | How to file a pick request? |
…umerator (#43850) Summary: In the Old Architecture and for Swift Libraries, these two methods are used to initialize a new disctionary but their implementation was missing so some libraries like lottie were failig to build. ## Changelog: [Internal] - Implement missing `count` and `keyEnumerator` methods for RCTComposedViewRegistry Pull Request resolved: #43850 Test Plan: Tested locally with the repro provided by SWM Reviewed By: javache Differential Revision: D55743648 Pulled By: cipolleschi fbshipit-source-id: 7bdb92625341cd704b8b09920ab3223a2ca61a54
Summary:
In the Old Architecture and for Swift Libraries, these two methods are used to initialize a new disctionary but their implementation was missing so some libraries like lottie were failig to build.
Changelog:
[Internal] - Implement missing
count
andkeyEnumerator
methods for RCTComposedViewRegistryTest Plan:
Tested locally with the repro provided by SWM