Getting error RCTBridge required dispatch_sync to load RNGestureHandlerModule. This may lead to deadlocks

Viewed 3109

I'm getting the same error as this issue

However rather than RCTDevLoadingView mine is referring to RNGestureHandlerModule. Similar to the issue linked above, my guess is that it's something related to making an update in the appdelegate.m file, however I cant figure out what that entails.

I'm using react-native 0.67.1 and react-native-gesture-handler 2.2.0.

Thank you

2 Answers

UPDATE: the issue was fixed in version 2.8.0

So if you do not depend on the old versions, just run

npm install react-native-reanimated@latest

or yarn add react-native-reanimated@latest.

Then cd ios && pod install

Old answer:

Change react-native-reanimated version to ~2.2.4 in package.json, then run

npm install or yarn install

cd ios && pod install

The answer was got from here

Related