6aa896896f
Summary: In the case where the first rootView we load enables Fabric, the UIManagerBinding ended up calling AppRegistry (JS) too early, before the bridge was fully ready. This means AppRegistry wasn't set up yet, causing redbox. To fix this, RuntimeExecutor impl should ask the bridge to queue the callback instead of asking the MessageQueueThread directly. MessageQueueThread only works well IFF the bridge is alive, but it has no knowledge about whether the bridge is alive or not. To support this, we add `invokeAsync` impl to the RCTCxxBridge. Reviewed By: JoshuaGross Differential Revision: D14868547 fbshipit-source-id: 3b3f2b9150e930b4a2c71012242305241fc6dbed |
||
---|---|---|
.. | ||
JSCExecutorFactory.h | ||
JSCExecutorFactory.mm | ||
NSDataBigString.h | ||
NSDataBigString.mm | ||
RCTCxxBridge.mm | ||
RCTCxxBridgeDelegate.h | ||
RCTMessageThread.h | ||
RCTMessageThread.mm | ||
RCTObjcExecutor.h | ||
RCTObjcExecutor.mm |