80f64f1e5b
Summary: In D16805827, I moved ImageLoader to CoreModules. In the process, I migrated usages of `[_bridge moduleForClass:[RCTImageLoader class]]` to `[_bridge moduleForName:@"ImageLoader"]`. These two APIs aren't equivalent, however, since `[_bridge moduleForClass:[RCTImageLoader class]]` by default lazily loads the requested NativeModule, but `[_bridge moduleForName:@"ImageLoader"]` doesn't. So, I had to explicitly set `lazilyLoadIfNecessary` to `YES` in all the call-sites I migrated, to ensure that ImageLoader is correctly initialized when necessary. Reviewed By: PeteTheHeat Differential Revision: D16948165 fbshipit-source-id: 434697637dfa5e32de1c398744f9c28c19a6fd94 |
||
---|---|---|
.. | ||
BUCK | ||
CoreModulesPlugins.h | ||
CoreModulesPlugins.mm | ||
RCTDeviceInfo.h | ||
RCTDeviceInfo.mm | ||
RCTExceptionsManager.h | ||
RCTExceptionsManager.mm | ||
RCTImageEditingManager.h | ||
RCTImageEditingManager.m | ||
RCTImageLoader.h | ||
RCTImageLoader.mm | ||
RCTImageStoreManager.h | ||
RCTImageStoreManager.m | ||
RCTPlatform.h | ||
RCTPlatform.mm | ||
React-CoreModules.podspec |