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:
parent
61832b4323
commit
17205aac57
|
@ -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];
|
||||
|
|
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue