Skip to content
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

RNCCheckbox was not found in the UIManager #173

Open
gutwenger opened this issue Jun 16, 2022 · 11 comments
Open

RNCCheckbox was not found in the UIManager #173

gutwenger opened this issue Jun 16, 2022 · 11 comments
Labels

Comments

@gutwenger
Copy link

After running npm install --save @react-native-community/checkbox and import <CheckBox />, it threw an error as below:-

[Unhandled promise rejection: Invariant Violation: requireNativeComponent: "RNCCheckbox" was not found in the UIManager.]
at node_modules/react-native/Libraries/ReactNative/getNativeComponentAttributes.js:28:11 in getNativeComponentAttributes
at node_modules/react-native/Libraries/Renderer/shims/ReactNativeViewConfigRegistry.js:116:25 in exports.get
at node_modules/@react-navigation/native/src/useThenable.tsx:26:18 in resolve

PS. I'm using expo.

Anyone encountered the same issue? Any solutions? Thanks.

@neerajdembla212
Copy link

@ayoub-rouani May I know which version of this library are you using?

@neerajdembla212
Copy link

@ayoub-rouani Can I have a glimpse of your package.json please? the version 0.5.12 is giving same error to me. I guess it is some other package version which is incompatible.

Following is my package.json

Screenshot 2022-08-02 at 1 43 46 PM

@kmkz-69
Copy link

kmkz-69 commented Sep 16, 2022

If you are using Expo : expo install expo-checkbox it will work

@hayderespit
Copy link

try installing the pods npx pod-install

@waqaskhanroghani
Copy link

Rebuild your current app after installing this library.

@kmkz-69
Copy link

kmkz-69 commented Nov 2, 2022

The problem has been solved, please close the problem. @neerajdembla212

@neerajdembla212
Copy link

@gutwenger Please close the issue. Thanks!

@dembijeremias
Copy link

dembijeremias commented Aug 7, 2023

this solution didn't work for me. I'm using React Native version 0.63.4
I am not using expo.

Simulator Screen Shot - Iphone 11 Pro Max - 2023-08-07 at 16 35 43

@OumarMaiga
Copy link

If you are using Expo : expo install expo-checkbox it will work

this works for me. Thanks

@Eddievin
Copy link

Anyone still struggling with this thing. I suffered for 6 hours and this is the solution I got that worked it's magic.
🖱️ Using Expo

Run: 🖱️ expo install expo-checkbox

Then in your project import like this: 🖱️ import CheckBox from "expo-checkbox";

@tariqmurtuza
Copy link

  • cd ios & run npx pod install
  • Close your application and metro and restart the application by npx react-native run-ios

Hopefully it will work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

10 participants