Whenever I change the file created in the example I get the error:
Invariant Violation: requireNativeComponent: "ButtonView" was not found in the UIManager.
After the change I run pod install, clean builder folder, but nothing works. I always change it directly through xcode in the pod, which is reflected in the ios folder.
watchOS 10.4
Android SDK: Not Found
IDEs:
Android Studio: 2023.2 AI-232.10227.8.2321.11479570
Xcode:
version: 15.3/15E204a
path: /usr/bin/xcodebuild
Languages:
Java:
version: 17.0.8
path: /usr/bin/javac
Ruby:
version: 2.6.10
path: /usr/bin/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.73.6
wanted: 0.73.6
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: Not found
newArchEnabled: Not found
iOS:
hermesEnabled: Not found
newArchEnabled: Not found
The problem is that on IOS it uses a naming convention. For example, if I create a ButtonManager class, in the react-native context the name must be Button.
Description
Whenever I change the file created in the example I get the error: Invariant Violation: requireNativeComponent: "ButtonView" was not found in the UIManager. After the change I run pod install, clean builder folder, but nothing works. I always change it directly through xcode in the pod, which is reflected in the ios folder.
Packages
Selected options
N/A
Link to repro
https://github.com/pablords/mistica-react-native
Environment
System: OS: macOS 14.4.1 CPU: (8) arm64 Apple M1 Memory: 87.98 MB / 8.00 GB Shell: version: "5.9" path: /bin/zsh Binaries: Node: version: 18.17.1 path: ~/.nvm/versions/node/v18.17.1/bin/node Yarn: version: 3.6.1 path: ~/.nvm/versions/node/v18.17.1/bin/yarn npm: version: 9.6.7 path: ~/.nvm/versions/node/v18.17.1/bin/npm Watchman: Not Found Managers: CocoaPods: version: 1.15.2 path: /opt/homebrew/bin/pod SDKs: iOS SDK: Platforms: