I create the React Native Expo Mobile app. I got this error in android ERROR TypeError: _RNGestureHandlerModule.default.flushOperations is not a function (it is undefined), js engine: hermes.But,Not in IOS .how solve this error in android
Need Correct Answer. I am working On expo 50
2
Answers
In Expo go everything is working amazing, but development build crashing : https://forums.expo.dev/t/in-expo-go-everything-is-working-amazing-but-development-build-crashing/74480
Troubleshooting : https://reactnavigation.org/docs/4.x/troubleshooting/
Problem with the version of react-native-gesture-handler that you have installed. The error message indicates that the flushOperations method is undefined, which suggests that the method is not being exposed properly by the library.
I had the same issue. It got fixed when I install react-native-gesture-handler as recommended by Pratik Prakash.
npx expo install react-native-gesture-handler