react-native-gesture-handler: iOS 2.1.0 - RCTBridge required dispatch_sync to load RNGestureHandlerModule. This may lead to deadlocks
Description
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
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 17
- Comments: 16 (1 by maintainers)
+1
How to reproduce:
same here!