react-native-best-viewpager icon indicating copy to clipboard operation
react-native-best-viewpager copied to clipboard

RNCViewPager" was not found in the UIManager. [RN 0.60.6] [Android]

Open sytolk opened this issue 5 years ago • 5 comments

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

sytolk avatar Feb 19 '20 11:02 sytolk

I'm facing the same issue and trying to find out the solution !!

anshdroid avatar Mar 02 '20 11:03 anshdroid

@rathore-himanshu821 you can add dependency: @react-native-community/viewpager": "^3.3.0", this temporary fix issue for me

sytolk avatar Mar 02 '20 11:03 sytolk

@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

anshdroid avatar Mar 09 '20 10:03 anshdroid

Anyone with a solution for this?

MalcolmTomisin avatar Jun 19 '20 16:06 MalcolmTomisin

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; }

MalcolmTomisin avatar Jun 20 '20 13:06 MalcolmTomisin