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

support for RN 0.63+ #95

Open
vladp opened this issue Nov 1, 2020 · 10 comments
Open

support for RN 0.63+ #95

vladp opened this issue Nov 1, 2020 · 10 comments

Comments

@vladp
Copy link

vladp commented Nov 1, 2020

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

@ralph-dev
Copy link

image

Agreed kind of weird to have this not working?

@vladp
Copy link
Author

vladp commented Nov 12, 2020

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.

@ralph-dev
Copy link

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...

@vladp
Copy link
Author

vladp commented Nov 12, 2020

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).

@nicholaslee119 nicholaslee119 added bug Something isn't working reproducing labels Nov 14, 2020
@micaelomota
Copy link

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.

@vladp
Copy link
Author

vladp commented Nov 15, 2020

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+"

@nicholaslee119
Copy link
Collaborator

@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

@nicholaslee119 nicholaslee119 removed the bug Something isn't working label Nov 18, 2020
@LogicAnalysis
Copy link

LogicAnalysis commented Dec 17, 2020

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.

@Rebsos
Copy link

Rebsos commented Nov 26, 2021

I didn't know there is no support anymore.
Does anyone know why?
It works without issues on RN 64 in production

@Mootassam
Copy link

Delete the app and run the followings commands
npx react-native start -- --reset-cache
npx react-native run-android

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

No branches or pull requests

7 participants