react-native-macos/React/CoreModules
Ramanpreet Nara 80f64f1e5b Ensure ImageLoader is lazily loaded as necessary
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
2019-08-21 16:11:32 -07:00
..
BUCK Make RCTDeviceInfo a TurboModule 2019-08-21 14:31:02 -07:00
CoreModulesPlugins.h Make RCTDeviceInfo a TurboModule 2019-08-21 14:31:02 -07:00
CoreModulesPlugins.mm Make RCTDeviceInfo a TurboModule 2019-08-21 14:31:02 -07:00
RCTDeviceInfo.h Make RCTDeviceInfo a TurboModule 2019-08-21 14:31:02 -07:00
RCTDeviceInfo.mm Make RCTDeviceInfo a TurboModule 2019-08-21 14:31:02 -07:00
RCTExceptionsManager.h Move RCTExceptionsManager to CoreModules and make it conform to spec 2019-08-15 20:25:23 -07:00
RCTExceptionsManager.mm Move RCTExceptionsManager to CoreModules and make it conform to spec 2019-08-15 20:25:23 -07:00
RCTImageEditingManager.h Migrate RCTImage NativeModules to CoreModules 2019-08-14 13:39:30 -07:00
RCTImageEditingManager.m Ensure ImageLoader is lazily loaded as necessary 2019-08-21 16:11:32 -07:00
RCTImageLoader.h Migrate RCTImage NativeModules to CoreModules 2019-08-14 13:39:30 -07:00
RCTImageLoader.mm Fix bridge.imageLoader warning message 2019-08-20 10:18:50 -07:00
RCTImageStoreManager.h Migrate RCTImage NativeModules to CoreModules 2019-08-14 13:39:30 -07:00
RCTImageStoreManager.m Migrate RCTImage NativeModules to CoreModules 2019-08-14 13:39:30 -07:00
RCTPlatform.h iOS Buck: Create CoreModules sub-target 2019-07-01 15:20:01 -07:00
RCTPlatform.mm iOS fixed up inconsistent boolean convertion logic in RCTPlatform 2019-08-05 17:34:52 -07:00
React-CoreModules.podspec Remove 's.static_framework = true' requirement for podspec (#25816) 2019-07-25 11:46:43 -07:00