iOS 2.1.0 - RCTBridge required dispatch_sync to load RNGestureHandlerModule. This may lead to deadlocks
See original GitHub issueDescription
After upgrading from 1.x to 2.1.0, the following warning shows every time the iOS app is opened:
RCTBridge required dispatch_sync to load RNGestureHandlerModule. This may lead to deadlocks
Note, this only seem to happen when reanimated 2 is used, no warnings with reanimated 1.
Screenshots
Steps To Reproduce
- Install “react-native-gesture-handler”: “2.1.0”,
import 'react-native-gesture-handler';
on index.js- Wrap the main component in
GestureHandlerRootView
- Start the app on iOS and observe the warning.
Expected behavior
No warnings.
Actual behavior
Warnings.
Snack or minimal code example
Package versions
- React: 17.0.2
- React Native: 0.66.3
- React Native Gesture Handler: 2.1.0
- React native reanimated: 2.3.1
Issue Analytics
- State:
- Created 2 years ago
- Reactions:17
- Comments:16 (1 by maintainers)
Top Results From Across the Web
Getting error RCTBridge required dispatch_sync to load ...
I'm getting the same error as this issue. However rather than RCTDevLoadingView mine is referring to RNGestureHandlerModule. Similar ...
Read more >How to solve RCTBridge required dispatch_sync to load ...
Recently, I came across an open issue on github.com/facebook/react-native that contains the following resolution for this. Open the file ./ios/ ...
Read more >RCTBridge required dispatch_sync to load ... - Expo Forums
Im upgrade expo 43 or 44 use monorepo. Warn : RCTBridge required dispatch_sync to load RNGestureHandlerModule. This may lead to deadlocks.
Read more >[Solved]-RCTBridge required dispatch_sync to load ...
Coding example for the question RCTBridge required dispatch_sync to load RNGestureHandlerModule. This may lead to deadlocks-React Native.
Read more >RCTBridge required dispatch_sync to load ... - Medium
“react-native-vector-icons” is able to cause this Bug. If you get this Error to fix it effortlessly open your project in Xcode. Select ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
+1
How to reproduce:
same here!