UIManagerModule.addUIBlock
not working in New Architecture
#148
-
Someone had filed this issue over in the RN repo here: facebook/react-native#34764 It looks like UIManagerModule.addUIBlock() doesn't work when New Arch is enabled. The callback is not called. Is this expected? For New Architecture, was I've created a repro based on the RN Reproducer app here: https://github.com/joemun/uimanagermodule-adduiblock-test |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Apologies for the delayed response. Yes, that's correct for New Arch UIManagerModule.addUIBlock() returns null on Bridgeless. The replacement API added for Backwards Compatibility in Bridgeless is Sample fix PRs : expo/expo#29500 react-native-maps/react-native-maps#5061 |
Beta Was this translation helpful? Give feedback.
Apologies for the delayed response. Yes, that's correct for New Arch UIManagerModule.addUIBlock() returns null on Bridgeless.
The replacement API added for Backwards Compatibility in Bridgeless is
https://github.com/facebook/react-native/blob/2483c63017b0d47c377bf67cb7c597e2d7e57897/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/fabric/FabricUIManager.java#L104
Sample fix PRs : expo/expo#29500 react-native-maps/react-native-maps#5061