[IOS] Unimplemented component RNCViewPager on version 7.0.0
Environment
- Platform: iOS
- Device: Simulator
- React-Native: 0.78.3
- New arch: Enabled
Description
When we run and show pager, there's a red overlay with the text "Unimplemented component RNCViewPager" I have already clean all cache (DerivedData, Pods, XCode cache, build,...)
Reproducible Demo
same with RN 77 and react-native-pager-view
Same here with rn 0.81.5 expo 54.0.25
I've tried cleaning up all the caches as suggested here https://github.com/callstack/react-native-pager-view/issues/1023 but didn't work out. Any news on that?
I tried deleting the build cache and rebuilding the project, but it didn’t work. I also tried these versions:
"react-native-pager-view": "7.0.1", "react-native-tab-view": "4.1.1"
Same issue, even after rebuilding and all.
"react-native-pager-view": "6.9.1",
"react-native-tab-view": "^4.2.0",
I was able to make it work. This issue means that the library has not been compiled. In my case, I forgot to add it to the package.json on apps/mobile - it's a Turborepo. So when I ran pnpm install the main app didn't have the reference to the library => it didn't compile it.
Hey, please re-test on latest version.
work with react-native: 0.77.3 "react-native-pager-view": "6.6.1", "react-native-tab-view": "4.0.5",
I still have the problem. I tried with latest version :( react-native-tab-view : 4.2.1 react-native: 0.77.0 new arch: enabled
@dxik it was with new architecture ?
I had the same issue. The reason it did not work was that I had a package (SDK) which was importing this library but my example app using the package (sdk) also needed to reference the same library. Adding it to both made it work.
I don't have this issue with other packages though.