Giter Club home page Giter Club logo

Comments (10)

micaelomota avatar micaelomota commented on May 24, 2024 4

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.

Mootassam avatar Mootassam commented on May 24, 2024 2

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

from react-native-checkbox.

ralph-dev avatar ralph-dev commented on May 24, 2024

image

Agreed kind of weird to have this not working?

from react-native-checkbox.

vladp avatar vladp commented on May 24, 2024

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.

ralph-dev avatar ralph-dev commented on May 24, 2024

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.

vladp avatar vladp commented on May 24, 2024

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.

vladp avatar vladp commented on May 24, 2024

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.

nicholaslee119 avatar nicholaslee119 commented on May 24, 2024

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

LogicAnalysis avatar LogicAnalysis commented on May 24, 2024

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.

Rebsos avatar Rebsos commented on May 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.