react-native-best-viewpager
react-native-best-viewpager copied to clipboard
RNCViewPager" was not found in the UIManager. [RN 0.60.6] [Android]
Maybe you can try to add react-native-viewpager
as peerDependencies
here:
https://github.com/abbasmoosavi/react-native-best-viewpager/blob/master/package.json#L39
https://github.com/react-native-community/react-native-viewpager/issues/72#issuecomment-588177299
I'm facing the same issue and trying to find out the solution !!
@rathore-himanshu821 you can add dependency:
@react-native-community/viewpager": "^3.3.0",
this temporary fix issue for me
@rathore-himanshu821 you can add dependency:
@react-native-community/viewpager": "^3.3.0",
this temporary fix issue for me
I'm using the same version still facing problem while cleaning Gradle
Anyone with a solution for this?
So I found the solution to this here at react-native-community . Auto linking didnt work for me so I opted for manual linking.
P.S. I am working with react-native "~0.61.5" , after following all the steps in the above link your final step might be different. You'd add the RNCViewPager package differently, see below;
@Override protected List<ReactPackage> getPackages() { List<ReactPackage> packages = new PackageList(this).getPackages(); packages.add(new ModuleRegistryAdapter(mModuleRegistryProvider)); packages.add(new RNCViewPagerPackage()); return packages; }