react-native
react-native copied to clipboard
RCTBridge required dispatch_sync to load RCTAccessibilityManager. This may lead to deadlocks
Description
When building a new project with React Native 0.73.3 I am getting the warning RCTBridge required dispatch_sync to load RCTAccessibilityManager. This may lead to deadlocks as soon as my app starts.
I tried creating a new app with version 0.73.2 and this warning disappears
This my package JSON file:
{
"name": "AwesomeProject3",
"version": "0.0.1",
"private": true,
"scripts": {
"android": "react-native run-android",
"ios": "react-native run-ios",
"lint": "eslint .",
"start": "react-native start",
"test": "jest"
},
"dependencies": {
"react": "18.2.0",
"react-native": "0.73.3"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@babel/preset-env": "^7.20.0",
"@babel/runtime": "^7.20.0",
"@react-native/babel-preset": "0.73.20",
"@react-native/eslint-config": "0.73.2",
"@react-native/metro-config": "0.73.4",
"@react-native/typescript-config": "0.73.1",
"@types/react": "^18.2.6",
"@types/react-test-renderer": "^18.0.0",
"babel-jest": "^29.6.3",
"eslint": "^8.19.0",
"jest": "^29.6.3",
"prettier": "2.8.8",
"react-test-renderer": "18.2.0",
"typescript": "5.0.4"
},
"engines": {
"node": ">=18"
}
}
Steps to reproduce
npx react-native@latest init AwesomeProject
React Native Version
0.73.3
Affected Platforms
Runtime - iOS
Output of npx react-native info
No
Stacktrace or Logs
WARN RCTBridge required dispatch_sync to load RCTAccessibilityManager. This may lead to deadlocks
Reproducer
No
Screenshots and Videos
:warning: | Missing Reproducible Example |
---|---|
:information_source: | We could not detect a reproducible example in your issue report. Please provide either:
|
https://github.com/facebook/react-native/blob/8a8f74b7b2355b78bcdc7d8a23bf5ef5f0b93926/packages/react-native/React/CxxBridge/RCTCxxBridge.mm#L986-L990
Getting the same after upgrading to 0.73.3, @fabOnReact care to explain why you linked the comments above?
Also getting the same after upgrading to 0.73.3 and I don't have the issue with 0.73.2 either.
@cipolleschi can you look into this (potentially related to f39f34ed82997d0595522a285c3cb8693594e718)
Fixed already:
- Pick requested in 0.73.4 => https://github.com/facebook/react-native/pull/42734
- PR for main => https://github.com/facebook/react-native/pull/42733
"react-native": "0.73.3"
still same
I have the same issue.
"react-native": "^0.73.2",
When 0.73.4
version with fix will be released ?
Me too:
Creating a project now using: npx react-native init MyProject --template react-native-template-typescript
this downloads 0.73.3 RN version, and then without any modification, I get the error in IOS.
Waiting this new PR approved in 0.73.4 or whatrver. Thank you
Version 0.73.4 with the fix with be released Monday! In the meantime you should be safe ignoring that warning.
Sorry for the inconvenience
@Titozzz you can't ignore it , for example my app just doesn't work because of this issue . Is it planned to release it today ?
+1
@olivierlesnicki This issue is fixed in version 0.73.4 - this issue should be closed.