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
Android: Invariant Violation requireNativeComponent: "RNCViewPager" was ton found in the UIManager #1050
Comments
I look at: Why do you use also there are definitions which don't used |
temporary solution is just:
but I don't want to install that module direct into project :( |
I would love to have a PR on a scroll based solution of android. It’s there for historical reasons. |
I have the same issue on Android. Manually adding |
same issue ... |
I have same issue too |
I guess there will be no issue in doing that I guess. npm will manage dependencies right? Is there will be any issue will come if you modify its dependencies? Please let me know. |
@vetrivendhan48 not a big deal actually, but. But when you search in project directory And build fails next time))))))) also guys above says that solution didn't work. I don't know why. In my case it works. |
|
same issue ..anybody solve it |
|
Any fix for expo 35 with RN 0.59? works well on IOS, android shows the same error. Tried link and manual installation of viewpager. |
This worked for me |
worked react-native version is 0.61.3 |
Thank you this works for me too. RN 0.61.4 |
react-native<0.59.0 |
this is not work for me, my react-native version is "react-native": "0.59.9" |
have you solved this problem? |
It's working RN 0.61.5 |
Same issue. Tired adding & linking @react-native-community/viewpager manually but still facing the same error. RN version 0.61.5. |
@zmnv , Thanks for your reply man 👍 |
This resolve issue and working fine in ios but in android tab content is blank. does anyone face same issue? |
I am not getting any error or warning but tab content is blank in android. |
None of the above solutions working for me on RN 0.59.8. Anyone manage to get a working solution? |
installed viewpager, works for me, thanks @chenyanfei-m
|
Solved this issue on an Ejected Expo project, RN 0.59.8. Instead of installing and linking Full path for linking is: |
worked! react-native version is 0.61.0 |
Thanks for sharing! |
This worked for me: RN-cli: 2.0.1 I tried linking the package, but that didn't help. I added the package (last line before return):
I emptied cache and ran: react-native run-android. |
i'm using RN 0.60.5 and i have this issue when using react-native-scrollable-tab-view version 1.0.0 then i had downgrade toreact-native-scrollable-tab-view version 0.10.0 the error is gone. |
Hi, I just ran I also made sure that my
To confirm... no manual steps required!! 🎉 Edit: I spoke too soon, this breaks iOS so I had to add this to my postinstall script:
So now...
Everything works. I think the ideal would be to remove viewpager as a dep from this library and instead have it as a required peer dependency. |
Last update... I downgraded my version of |
Android > 60.0, check file:
|
This worked for me. This issue is caused by the wrong dependency version, RN v0.61
RN v0.62
|
it's also worked for me ,thanks! |
im using Expo SDK 34 ejected, RN 0.59 |
for Expo SDK 34 ejected, RN 0.59 |
run the command "react-native run-android" or "react-native run-ios" instead of "react-native start" |
Thank u, those versions worked for me |
It worked with React Native version 0.64.2. Thanks! |
@react-native-community/viewpager is deprecated!
run projetc! Works here! ;-) |
1.react-native link @react-native-community/viewpager |
thanks bro!!!! |
Make sure to clear the node_modules
make a fresh install then npm install react-native-pager-view
npm install react-native-tab-view Restart the server That worked for me |
I've just update react-native-scrollable-tab-view to 1.0.0 by yarn. But still have error.
Steps to Reproduce
Expected Behavior
Should work because I setup latest version of module. And in
yarn.lock
:also
ViewPager
there is innode_modules
:Actual Behavior
Android
iOS
All fine.
I've try
The text was updated successfully, but these errors were encountered: