Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix onAccessibilityAction not work on Fabric
ReactAccessibilityDelegate performAccessibilityAction dispatches the event topAccessibilityAction -- Understand why Fabric does not call registerEventEmitter before performAccessibilityAction for that reactTag/surfaceId Read StackTrace from error message (use printStacktrace) The method getUIManager retrieve the UIManager from the reactTag and does not check if is Fabric or Paper ReactAccessibilityDelegate [performAccessibilityAction](https://github.com/facebook/react-native/blob/bf37a34c38b39a14de8194520d07de0b9f8c0bf7/ReactAndroid/src/main/java/com/facebook/react/uimanager/ReactAccessibilityDelegate.java#L410-L415) dispatches the event topAccessibilityAction Understand why Fabric does not call [registerEventEmitter](https://github.com/fabriziobertoglio1987/react-native/blob/163171ccab6937785f4f3c85e011bd14540bebf5/ReactAndroid/src/main/java/com/facebook/react/fabric/FabricUIManager.java#L426) before performAccessibilityAction for that reactTag/surfaceId Read StackTrace from [error message](facebook#30841 (comment)) (use [printStacktrace](https://www.google.com/search?q=java+printStacktrace)) The method [getUIManager](https://github.com/fabriziobertoglio1987/react-native/blob/dc4c54ec1b7b7f7cd37c7402b1eac5292cb4996a/ReactAndroid/src/main/java/com/facebook/react/uimanager/UIManagerHelper.java#L40-L48) retrieve the UIManager from the reactTag and does not check if is Fabric or Paper
- Loading branch information