marinofaggiana 4 gadi atpakaļ
vecāks
revīzija
eb8e004e20
1 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  1. 4 0
      iOSClient/AppDelegate.m

+ 4 - 0
iOSClient/AppDelegate.m

@@ -202,6 +202,8 @@
 {
     if (self.account == nil || self.account.length == 0) { return; }
     
+    [[NCCommunicationCommon shared] writeLog:@"Application will enter in foreground"];
+    
     [[NSNotificationCenter defaultCenter] postNotificationOnMainThreadName:NCBrandGlobal.shared.notificationCenterApplicationWillEnterForeground object:nil];
     
     // Request Passcode
@@ -252,6 +254,8 @@
 {
     if (self.account == nil || self.account.length == 0) { return; }
 
+    [[NCCommunicationCommon shared] writeLog:@"Application did enter in background"];
+
     [[NSNotificationCenter defaultCenter] postNotificationOnMainThreadName:NCBrandGlobal.shared.notificationCenterApplicationDidEnterBackground object:nil];
     
     [self passcodeWithAutomaticallyPromptForBiometricValidation:false];