fix content appeared logging
Reviewed By: AaaChiuuu Differential Revision: D5694558 fbshipit-source-id: 9d3ed839c301e700c715de1bbde7f6e44d12f605
This commit is contained in:
parent
d63cf13ce1
commit
ce4e41ac2e
|
@ -233,7 +233,6 @@ public class ReactRootView extends SizeMonitoringFrameLayout implements RootView
|
|||
mReactInstanceManager = reactInstanceManager;
|
||||
mJSModuleName = moduleName;
|
||||
mAppProperties = initialProperties;
|
||||
mShouldLogContentAppeared = true;
|
||||
|
||||
if (!mReactInstanceManager.hasStartedCreatingInitialContext()) {
|
||||
mReactInstanceManager.createReactContextInBackground();
|
||||
|
@ -308,6 +307,8 @@ public class ReactRootView extends SizeMonitoringFrameLayout implements RootView
|
|||
appParams.putMap("initialProps", Arguments.fromBundle(appProperties));
|
||||
}
|
||||
|
||||
mShouldLogContentAppeared = true;
|
||||
|
||||
String jsAppModuleName = getJSModuleName();
|
||||
catalystInstance.getJSModule(AppRegistry.class).runApplication(jsAppModuleName, appParams);
|
||||
} finally {
|
||||
|
|
Loading…
Reference in New Issue