Reputation: 768
"@react-native-community/viewpager": "^2.0.2",
Error in Xcode
node_modules/@react-native-community/viewpager/ios/ReactNativePageView.h:10:42: Expected a type
node_modules/@react-native-community/viewpager/ios/ReactNativePageView.h:14:32: Unknown type name 'RCTEventDispatcher'
if I will change view pager version then it is not working in android
Upvotes: -1
Views: 823
Reputation: 1
Are you using react-link to link your dependencies? Please try this out..
Please try this and let me know if that works
OR TRY DOING THIS IF ABOVE DOESNT WORKS
On your left side panel, where all the folder structure is show, right click on your App project and select 'Add file to (your app)'. Then browse to node_modules/react-native-gesture-handler/ios, select
Clean build and then try running the project again.
This is React Native Gesture handler issue and I hope this might fix your problem.
Thanks
Upvotes: 0