mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Delay module creation on call for constants when module has none
Reviewed By: AaaChiuuu Differential Revision: D4810252 fbshipit-source-id: b2b98c3a8355dbb5775f254f25304a21f0bfee5b
This commit is contained in:
committed by
Facebook Github Bot
parent
678679e009
commit
78ab4ee893
@@ -74,6 +74,7 @@ public class NativeModuleRegistryBuilder {
|
||||
reactModuleInfo.canOverrideExistingModule(),
|
||||
reactModuleInfo.supportsWebWorkers(),
|
||||
reactModuleInfo.needsEagerInit(),
|
||||
reactModuleInfo.hasConstants(),
|
||||
moduleSpec.getProvider());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user