-
Notifications
You must be signed in to change notification settings - Fork 88
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
support for RN 0.63+ #95
Comments
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... |
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). |
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 |
It seems that everybody who posted on this thread (myself included), was able to get the checkbox to work on RN 0.63+ |
@vladp https://github.com/react-native-checkbox/react-native-checkbox/tree/develop#getting-started |
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. |
I didn't know there is no support anymore. |
Delete the app and run the followings commands |
Readme says that RN versions above 0.62 are not supported
I am on 0.63, is there a recommendation what to use instead ?
Or are there particular limitations that if not enabled, the checkbox would still work on 0.63+?
Thank you
The text was updated successfully, but these errors were encountered: