Skip to content

Commit 7e7eeed

Browse files
fix(template): remove the view manager template for iOS (#864)
<!-- Please provide enough information so that others can review your pull request. --> <!-- Keep pull requests small and focused on a single change. --> ### Summary Currently, with React Native versions `0.79.x` to `0.80.x`, the definition of `Fabric View` components has been changed. You can find that there is no `ViewManager` in the React Native documentation: https://reactnative.dev/docs/next/fabric-native-components-introduction Additionaly, `RCTViewManager` could lead to the problem with registration: <img width="299" alt="image" src="https://github.com/user-attachments/assets/d6035ff7-0536-41bd-880a-2ea4dca4c63f" /> * It could be that the `componentProvider` inside `codegenConfig` fix the problem I tested it with different versions of React Native and found that `ViewManager` is only needed for the old architecture and React Native versions below `0.74.x`. _____ <!-- List the steps with which we can test this change. Provide screenshots if this changes anything visual. --> Co-authored-by: Artur Kalach <artur_kalach@epam.com>
1 parent 7597dd7 commit 7e7eeed

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

packages/create-react-native-library/templates/objc-view-new/ios/{%- project.name %}ViewManager.mm

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)