react-native: 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

Captura de pantalla 2024-01-30 a la(s) 05 10 08

About this issue

  • Original URL
  • State: closed
  • Created 5 months ago
  • Reactions: 25
  • Comments: 15 (3 by maintainers)

Most upvoted comments

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

Getting the same after upgrading to 0.73.3, @fabOnReact care to explain why you linked the comments above?

"react-native": "0.73.3" still same

@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 ?

Also getting the same after upgrading to 0.73.3 and I don’t have the issue with 0.73.2 either.

after applying a patch from PR and PR the issue is gone