react-native-slider
react-native-slider copied to clipboard
Invariant Violation: requireNativeComponent: "RNCSlider" was not found in the UIManager.
I am getting the following import error on only tvos devices.
Invariant Violation: requireNativeComponent: "RNCSlider" was not found in the UIManager.
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!
hi, I also encountered this problem, but this problem appears on Android
@lishaoxin123 are you trying this on Expo maybe?
@lishaoxin123 are you trying this on Expo maybe?
No, I did it directly on my cell phone
hi, I also encountered this problem, but this problem appears on Android
+1
i am trying expo please solve it
Exactly I am also on expo with dev-client build. And I'm still facing the same issue
happens to me on expo dev client ios and android
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.
any thoughts on this? seems to be poping up again.
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?
I'm facing this issue on "@react-native-community/slider": "^4.4.2", from today. Any probable fixes?
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
- node_modules removed (3-5 times, i don't know) and npm install
- I use android studio (Girafe) and then I clicked on "Sync project with Gradle Files".
- 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