fix(template): remove the view manager template for iOS#864
Conversation
okwasniewski
left a comment
There was a problem hiding this comment.
Thanks for creating this PR, looks good! This is indeed not needed for the new architecture, but I'm curious why the error popped up, did you access some old architecture APIs in the new one?
|
Hello @okwasniewski, Let me share some context first: This week, I discovered that using However, for various reasons, I decided to raise this PR to visualize the change for others. I had this issue: Also have layout problems: BTW: Thank you for such a useful package! I’ve learned a lot from it and believe this has been the best way to create libraries for React Native over the past 3–4 years. |
116f888 to
923511c
Compare
Summary
Currently, with React Native versions
0.79.xto0.80.x, the definition ofFabric Viewcomponents has been changed. You can find that there is noViewManagerin the React Native documentation: https://reactnative.dev/docs/next/fabric-native-components-introductionAdditionaly,

RCTViewManagercould lead to the problem with registration:componentProviderinsidecodegenConfigfix the problemI tested it with different versions of React Native and found that
ViewManageris only needed for the old architecture and React Native versions below0.74.x.