Przeglądaj źródła

ScreenVisibilityListener now called on disappear methods (#2822)

fixes https://github.com/wix/react-native-navigation/issues/1771
Nicolas Bonduel 6 lat temu
rodzic
commit
c239985eb3
1 zmienionych plików z 0 dodań i 2 usunięć
  1. 0
    2
      ios/RCCViewController.m

+ 0
- 2
ios/RCCViewController.m Wyświetl plik

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