Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Honor
requiresMainQueueSetup
in bridgeless mode for ViewManagers
Summary: We [received an issue](react-native-maps/react-native-maps#5042) in OSS where a ViewManager was configured to be initialized on the main queue, but it wasn't. This was creating a soft crash and showing a RedBox to the user. The library was going through the Interop Layer. This change makes sure that, if the ViewManager is configured to be setup in the main queue, we retrieve the constants from the Main Queue ## Changelog [iOS][Fixed] - Extract the constants from ViewManagers in the UI Thread if needed. Reviewed By: sammy-SC Differential Revision: D56762253 fbshipit-source-id: ca807b34d6e61418da9fd6a639a05f3394879f7c
- Loading branch information