mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
c7f7b4c87a
Summary: `RCTImageLoader ` needs loaders & decoders. These can be passed in through init, or looked up at runtime using the bridge. In bridgeless mode, we need to pass them in through init. This diff just moves the assert to actually protect `_bridge` usage, since there exist other codepaths which don't use the bridge. Changelog: [iOS][Internal] Move RCTImageLoader asserts to protect bridge usage Reviewed By: RSNara Differential Revision: D18990760 fbshipit-source-id: 285008e7b3f473c45381ab472c3d86e5d8e218ae