react-native-macos/React/CxxBridge
Kevin Gozali 6aa896896f Fabric iOS: ask the bridge to queue async callback for the RuntimeExecutor
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
2019-04-10 11:04:23 -07:00
..
JSCExecutorFactory.h Make JSCExecutorFactory accessible from outside 2019-01-16 10:47:44 -08:00
JSCExecutorFactory.mm Refactor JSIExecutor to use runtimeInstaller for injecting the logger instance 2019-03-25 09:12:11 -07:00
NSDataBigString.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
NSDataBigString.mm Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTCxxBridge.mm Fabric iOS: ask the bridge to queue async callback for the RuntimeExecutor 2019-04-10 11:04:23 -07:00
RCTCxxBridgeDelegate.h iOS changes to switch to JSI 2018-10-18 01:06:24 -07:00
RCTMessageThread.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTMessageThread.mm iOS changes to switch to JSI 2018-10-18 01:06:24 -07:00
RCTObjcExecutor.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTObjcExecutor.mm Fix 50 xcode warnings (#23553) 2019-02-20 10:17:26 -08:00