mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
607e258c6a
Summary: 1. Start surface when first run, before, when we first load js bundle, `_startAllSurfaces` would not be called because `bridge == _batchedBridge`. 2. I think this fixes https://github.com/facebook/react-native/issues/23910, so I add the `return` in swizzle method to check. cc shergin. ## Changelog [iOS] [Fixed] - Make surface presenter manage start of surface Pull Request resolved: https://github.com/facebook/react-native/pull/24372 Test Plan: N/A. Differential Revision: D17337865 Pulled By: shergin fbshipit-source-id: 2a1e413c006cae74ef6ca4c2b6b5ee8a46434b7f