iOS: supress yellow box about missing export for native modules
Summary: Simply changing RCTLogWarn() to RCTLogInfo(), since some modules can be loaded without explicit export (experimental). Reviewed By: mdvacca Differential Revision: D12899442 fbshipit-source-id: 524d345265eda4a601101d878d51c244a8441fb5
This commit is contained in:
parent
7f79254cfe
commit
5431607c6d
|
@ -130,7 +130,8 @@ void RCTVerifyAllModulesExported(NSArray *extraModules)
|
|||
break;
|
||||
}
|
||||
|
||||
RCTLogWarn(@"Class %@ was not exported. Did you forget to use RCT_EXPORT_MODULE()?", cls);
|
||||
// Note: Some modules may be lazily loaded and not exported up front, so this message is no longer a warning.
|
||||
RCTLogInfo(@"Class %@ was not exported. Did you forget to use RCT_EXPORT_MODULE()?", cls);
|
||||
break;
|
||||
}
|
||||
superclass = class_getSuperclass(superclass);
|
||||
|
|
Loading…
Reference in New Issue