Ver código fonte

ScreenVisibilityListener now called on disappear methods (#2822)

fixes https://github.com/wix/react-native-navigation/issues/1771
Nicolas Bonduel 6 anos atrás
pai
commit
c239985eb3
1 arquivos alterados com 0 adições e 2 exclusões
  1. 0
    2
      ios/RCCViewController.m

+ 0
- 2
ios/RCCViewController.m Ver arquivo

@@ -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