Invariant Violation: requireNativeComponent: "CardField" was not found in the UIManager.
Describe the bug After i installed this package (i tried with Yarn and npm) i get this error when i try to call the CardField component. I installed the pods, and updated the repo but still happening. Using React Native CLI.
This happens only in iOS, Android seems fine.
Here is my packaje.json:
"dependencies": {
"@gorhom/bottom-sheet": "^3",
"@react-native-async-storage/async-storage": "^1.15.5",
"@react-native-community/masked-view": "0.1.10",
"@react-native-picker/picker": "^1.16.1",
"@react-navigation/native": "^5.9.4",
"@react-navigation/stack": "^5.14.5",
"@stripe/stripe-react-native": "^0.1.4",
"axios": "^0.21.1",
"dateformat": "^4.5.1",
"jwt-decode": "^3.1.2",
"prop-types": "^15.7.2",
"react": "17.0.1",
"react-dom": "16.13.1",
"react-hook-form": "^7.8.3",
"react-native": "0.64.2",
"react-native-actions-sheet": "^0.4.9",
"react-native-dropdown-picker": "^5.1.21",
"react-native-gesture-handler": "~1.10.2",
"react-native-image-slider-box": "^1.0.12",
"react-native-increment-decrement-button": "^1.0.0",
"react-native-linear-gradient": "^2.5.6",
"react-native-reanimated": "~2.1.0",
"react-native-safe-area-context": "3.2.0",
"react-native-screens": "~3.0.0",
"react-native-vector-icons": "^8.1.0",
"react-native-web": "~0.13.12",
"react-redux": "^7.2.4",
"reanimated-bottom-sheet": "^1.0.0-alpha.22",
"redux": "^4.1.0",
"redux-devtools-extension": "^2.13.9",
"redux-logger": "^3.0.6",
"redux-thunk": "^2.3.0"
},
"devDependencies": {
"@babel/core": "^7.12.9",
"@babel/runtime": "^7.12.5",
"@react-native-community/eslint-config": "^2.0.0",
"babel-jest": "^26.6.3",
"eslint": "7.14.0",
"jest": "^26.6.3",
"metro-react-native-babel-preset": "^0.64.0",
"react-test-renderer": "17.0.1"
},
Screenshots

Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Smartphone (please complete the following information):
- Device: Iphone 12
@TiagoX9 can you provide some piece of your code, to help us find and remove the cause?
closing due to inactivity, please reopen if needed
Describe the bug After i installed this package (i tried with Yarn and npm) i get this error when i try to call the CardField component. I installed the pods, and updated the repo but still happening. Using React Native CLI.
This happens only in iOS, Android seems fine.
Here is my packaje.json:
"dependencies": { "@gorhom/bottom-sheet": "^3", "@react-native-async-storage/async-storage": "^1.15.5", "@react-native-community/masked-view": "0.1.10", "@react-native-picker/picker": "^1.16.1", "@react-navigation/native": "^5.9.4", "@react-navigation/stack": "^5.14.5", "@stripe/stripe-react-native": "^0.1.4", "axios": "^0.21.1", "dateformat": "^4.5.1", "jwt-decode": "^3.1.2", "prop-types": "^15.7.2", "react": "17.0.1", "react-dom": "16.13.1", "react-hook-form": "^7.8.3", "react-native": "0.64.2", "react-native-actions-sheet": "^0.4.9", "react-native-dropdown-picker": "^5.1.21", "react-native-gesture-handler": "~1.10.2", "react-native-image-slider-box": "^1.0.12", "react-native-increment-decrement-button": "^1.0.0", "react-native-linear-gradient": "^2.5.6", "react-native-reanimated": "~2.1.0", "react-native-safe-area-context": "3.2.0", "react-native-screens": "~3.0.0", "react-native-vector-icons": "^8.1.0", "react-native-web": "~0.13.12", "react-redux": "^7.2.4", "reanimated-bottom-sheet": "^1.0.0-alpha.22", "redux": "^4.1.0", "redux-devtools-extension": "^2.13.9", "redux-logger": "^3.0.6", "redux-thunk": "^2.3.0" }, "devDependencies": { "@babel/core": "^7.12.9", "@babel/runtime": "^7.12.5", "@react-native-community/eslint-config": "^2.0.0", "babel-jest": "^26.6.3", "eslint": "7.14.0", "jest": "^26.6.3", "metro-react-native-babel-preset": "^0.64.0", "react-test-renderer": "17.0.1" },Screenshots
Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Smartphone (please complete the following information):
- Device: Iphone 12
Same issue. in RN0.59
@mppvgithub as I mentioned above, we need more details to be able investigate your issue. However I would suggest in your case to upgrade RN to 0.6x