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

Invariant Violation: requireNativeComponent: "RNCSlider" was not found in the UIManager. #330

Open
Karunamoorthy-tringapps opened this issue Oct 13, 2021 · 13 comments
Labels
bug report Something isn't working platform: Android Issue related to Android platform platform: iOS Issue related to iOS platform

Comments

@Karunamoorthy-tringapps

I am getting the following import error on only tvos devices.
Invariant Violation: requireNativeComponent: "RNCSlider" was not found in the UIManager.

@BartoszKlonowski BartoszKlonowski added this to To be analyzed in Slider-Board via automation Oct 13, 2021
@BartoszKlonowski BartoszKlonowski added bug report Something isn't working platform: iOS Issue related to iOS platform labels Oct 13, 2021
@BartoszKlonowski
Copy link
Member

Hello @Karunamoorthy-tringapps, thanks for bringing this up!
It looks like we're still based on the previous support for tvOS of react-native while it has been deprecated with version 0.62.
This will need to be revisited with the usage of react-native-tvos, but I'm afraid this will definitely require more time.
Please be patient, or feel free to deliver a PR if you would like to speed this issue up.
Thank you!

@BartoszKlonowski BartoszKlonowski moved this from To be analyzed to Backlog in Slider-Board Oct 14, 2021
@lishaoxin123
Copy link

hi, I also encountered this problem, but this problem appears on Android

@BartoszKlonowski
Copy link
Member

@lishaoxin123 are you trying this on Expo maybe?

@BartoszKlonowski BartoszKlonowski moved this from Backlog to To be analyzed in Slider-Board Apr 15, 2022
@lishaoxin123
Copy link

@lishaoxin123 are you trying this on Expo maybe?

No, I did it directly on my cell phone

@rahulnainwal107
Copy link

hi, I also encountered this problem, but this problem appears on Android

+1

@supriaditech
Copy link

i am trying expo please solve it

@rajsawhoney
Copy link

Exactly I am also on expo with dev-client build. And I'm still facing the same issue

@bj97301
Copy link

bj97301 commented May 15, 2023

happens to me on expo dev client ios and android

@rajsawhoney
Copy link

rajsawhoney commented May 16, 2023

Hello everyone!
I am using slider offered by react-native-elements, a ui package and I was also facing the same issue.
And I did fix it by installing "react-native-slider": "^0.11.0" and building new dev-client build.
However, I am not using react-native-slider package in my project.
I am not sure whether it's gonna work in your case.

@bj97301
Copy link

bj97301 commented May 18, 2023

any thoughts on this? seems to be poping up again.

@objectiveSee
Copy link

objectiveSee commented Jun 18, 2023

I am also experiencing this issue in a app (iOS) running a build of the dev-client. Is there any specific plug-in configuration that needs to be done to install the Cocoapod correctly?

@ab-sami
Copy link

ab-sami commented Jul 13, 2023

I'm facing this issue on "@react-native-community/slider": "^4.4.2",
from today. Any probable fixes?

@SabrioBiblio
Copy link

SabrioBiblio commented Aug 28, 2023

Hello, I somehow solved this problem. I had no idea how. But there are some points that I did. (Android)

I tried all the options, googled anything, but I didn’t change anything in the android folder

Here are the steps I followed just by poking at anything

  1. node_modules removed (3-5 times, i don't know) and npm install
  2. I use android studio (Girafe) and then I clicked on "Sync project with Gradle Files".
  3. in android studio Build -> Clean project -> (wait) | Build -> Rebuild project

Several times I tried to clear the build and run it, tried to clear the cache with npm start -- --reset-cache

And that's what helped me, I just restarted the computer and the problems were resolved by itself. Basically, such problems with the UI manager were solved by rebooting

PS.
And yes, in some cases, my emulator just hung after npm start and nothing happened, so I just deleted this device from android studio and created a new one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Something isn't working platform: Android Issue related to Android platform platform: iOS Issue related to iOS platform
Projects
Slider-Board
  
To be analyzed
Development

No branches or pull requests

11 participants