Comments (10)
I just tested with react-native 0.63.3 and it works fine for iOS with autolink. However, I got the same error in the screenshot because I was running the application. I just needed to cd ios && pod install && cd ../ && yarn ios
.
It worked for me.
from react-native-checkbox.
Delete the app and run the followings commands
npx react-native start -- --reset-cache
npx react-native run-android
from react-native-checkbox.
Agreed kind of weird to have this not working?
from react-native-checkbox.
I was able to get it to work on RN 63.+ although the documentation does not appear to state that (or may be I am misreading it)
For the error you are getting, It is possible that Java portion of this component did not get properly auto-installed (autolinked) into your project.
from react-native-checkbox.
I was able to get it to work on RN 63.+ although the documentation does not appear to state that (or may be I am misreading it)
For the error you are getting, It is possible that Java portion of this component did not get properly auto-installed (autolinked) into your project.
Do you mean the swift b objective C code, this is IOS?
Anyways, I used react native elements in the mean time...
from react-native-checkbox.
Do you mean the swift b objective C code, this is IOS?
I should have written: For the error you are getting, It is possible that native portion of this component did not get properly auto-installed (autolinked) into your project.
Yes, I was guessing that may be the native portion was not autolinked. I only run on android at the moment, so might have been wrong guess as well. I had seen similar errors when the javascript module was accessible, but the corresponding native code was not linked in (and one would not get a native code compile time error in that instance).
from react-native-checkbox.
It seems that everybody who posted on this thread (myself included), was able to get the checkbox to work on RN 0.63+
So perhaps the only thing that's needed is to update the README file's 'SUPPORT' section
to indicate that it works on on " > 0.63+"
from react-native-checkbox.
@vladp
Thanks for your issue, have you tried npx pod-install
in your directory just like the readme writen below?
https://github.com/react-native-checkbox/react-native-checkbox/tree/develop#getting-started
from react-native-checkbox.
EDIT I have no idea why, but after uninstalling and reinstalling the module for the 5th time, it now works.
Unfortunately, I'm still getting the error "Invariant Violation: requireNativeComponent: "RNCCheckbox" was not found in the UIManager." on iOS (14.2, emulator)
I've tried uninstalling the module, deleting Podfile.lock, reinstalling, and running pod install again, but the issue will not resolve. pod install detects the component, so I don't think it's a linking issue. I'm on RN 0.63.3.
from react-native-checkbox.
I didn't know there is no support anymore.
Does anyone know why?
It works without issues on RN 64 in production
from react-native-checkbox.
Related Issues (20)
- RNCCheckbox was not found in the UIManager HOT 10
- Deleted
- ERROR Invariant Violation: requireNativeComponent: "AndroidCheckBox" was not found in the UIManager. HOT 4
- Error @react-native-community/checkbox in gradlew clean or build HOT 1
- app:lintVitalRelease Causing app build to faild HOT 9
- 'BEMCheckBox.h' file not found after upgrade 0.5.12 to 0.5.13 HOT 12
- requireNaticeComponent: AndroidCheckBox was not found in the UIManager HOT 17
- JSX element class does not support attributes because it does not have a 'props' property. ts(2607) HOT 4
- get name
- Checkboxes dont show normal device HOT 4
- CheckBox component gives typescript error: JSX element class does not support attributes because it does not have a 'props' property HOT 4
- Error Task :@react-native-community_checkbox:generateDebugRFile FAILED HOT 1
- React Native v0.72 no longer includes setAndForwardRef utility HOT 8
- Task ':react-native-community_checkbox:copyReleaseJniLibsProjectAndLocalJars' uses this output of task ':@react-native-community_checkbox:stripReleaseDebugSymbols' without declaring an explicit or implicit dependency. HOT 2
- Invariant Violation: requireNativeComponent: "RNCCheckbox" was not found in the UIManager, IOS
- [react-native-windows] Missing Publisher Details in the details tab under dll Properties HOT 1
- PlatformColor is not supported for tintColors property
- v0.5.17 not yet published HOT 1
- The lib don't support Fabric (RN new arch)
- Gradle Build Failed for Android SDK 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-checkbox.