Detox
Detox copied to clipboard
Android: Wait for BridgeIdlingResource to become idle timed out
What happened?
A bug report from an older version of React Native Navigation describes an issue encountered after upgrading from RN0.69 to RN0.71. The tests, specifically on Android, began failing intermittently with the error:
Test Failed: Wait for [com.wix.detox.reactnative.idlingresources.BridgeIdlingResource] to become idle timed out
This problem may be linked to a combination of factors, notably observed in projects using react-native-navigation and reanimated libraries. It appears that the issue has subsided following upgrades to Reanimated (version 3) and React Native (version 0.72). With these updates, the error has not been reproducible in the latest navigation tests.
Despite the apparent resolution, I am keeping this issue open for monitoring purposes. This is to ensure that if anyone experiences this error under different conditions, it can be further investigated.
Of course, if you encounter this issue or a similar synchronization problem, try to investigate it before reporting. There's a high chance it occurs uniquely in your project, and investigating will also help you and us understand the problem better. For guidance, read our troubleshooting guide.
any updates on this issue?
Also if anyone knows a workaround that would be very helpful, thank you!
@KaterinaUK as explained, the problem seems to have been resolved in RN 72, when used alongside up to date reanimated releases. Upgrading both solves the issue.
This fixed my issue: gradle 7.2.2 https://stackoverflow.com/questions/72564710/react-native-crash-release-build-fatal-exception-create-react-context