浏览代码

ScreenVisibilityListener now called on disappear methods (#2822)

fixes https://github.com/wix/react-native-navigation/issues/1771
Nicolas Bonduel 6 年前
父节点
当前提交
c239985eb3
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0
    2
      ios/RCCViewController.m

+ 0
- 2
ios/RCCViewController.m 查看文件

@@ -235,8 +235,6 @@ const NSInteger TRANSPARENT_NAVBAR_TAG = 78264803;
235 235
 
236 236
 - (void)sendGlobalScreenEvent:(NSString *)eventName endTimestampString:(NSString *)endTimestampStr shouldReset:(BOOL)shouldReset {
237 237
   
238
-  if (!self.commandType) return;
239
-  
240 238
   if ([self.view isKindOfClass:[RCTRootView class]]){
241 239
     NSString *screenName = [((RCTRootView*)self.view) moduleName];
242 240