question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

iOS 2.1.0 - RCTBridge required dispatch_sync to load RNGestureHandlerModule. This may lead to deadlocks

See original GitHub issue

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

  1. Install “react-native-gesture-handler”: “2.1.0”,
  2. import 'react-native-gesture-handler'; on index.js
  3. Wrap the main component in GestureHandlerRootView
  4. 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:closed
  • Created 2 years ago
  • Reactions:17
  • Comments:16 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
hf-yevhencommented, Feb 10, 2022

+1

How to reproduce:

  1. npx react-native init MyApp
  2. cd MyApp && yarn add react-native-reanimated react-native-gesture-handler
  3. cd ios && pod install && cd …
  4. npx react-native run-ios
1reaction
3runoDesigncommented, Dec 24, 2021

same here!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found