Track BatchedBridge in FBReactModule to decide when to re-apply feature flags

Reviewed By: majak

Differential Revision: D3735447

fbshipit-source-id: a38c34feddb3f11cb5b99783054849fd291fc14f
This commit is contained in:
Pieter De Baets 2016-08-31 16:08:55 -07:00 committed by Facebook Github Bot 1
parent 61832b4323
commit 17205aac57
2 changed files with 3 additions and 0 deletions

View File

@ -70,6 +70,8 @@ RCT_EXTERN NSArray<Class> *RCTGetModuleClasses(void);
launchOptions:bridge.launchOptions]) {
_parentBridge = bridge;
RCTLogInfo(@"Initializing %@ (parent: %@, executor: %@)", self, bridge, [self executorClass]);
_performanceLogger = [RCTPerformanceLogger new];
[_performanceLogger markStartForTag:RCTPLBridgeStartup];
[_performanceLogger markStartForTag:RCTPLTTI];

View File

@ -236,6 +236,7 @@ RCT_NOT_IMPLEMENTED(- (instancetype)initWithCoder:(NSCoder *)aDecoder)
@"initialProps": _appProperties ?: @{},
};
RCTLogInfo(@"Running application %@ (%@)", moduleName, appParameters);
[bridge enqueueJSCall:@"AppRegistry"
method:@"runApplication"
args:@[moduleName, appParameters]