marinofaggiana 4 жил өмнө
parent
commit
eb8e004e20

+ 4 - 0
iOSClient/AppDelegate.m

@@ -202,6 +202,8 @@
 {
 {
     if (self.account == nil || self.account.length == 0) { return; }
     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];
     [[NSNotificationCenter defaultCenter] postNotificationOnMainThreadName:NCBrandGlobal.shared.notificationCenterApplicationWillEnterForeground object:nil];
     
     
     // Request Passcode
     // Request Passcode
@@ -252,6 +254,8 @@
 {
 {
     if (self.account == nil || self.account.length == 0) { return; }
     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];
     [[NSNotificationCenter defaultCenter] postNotificationOnMainThreadName:NCBrandGlobal.shared.notificationCenterApplicationDidEnterBackground object:nil];
     
     
     [self passcodeWithAutomaticallyPromptForBiometricValidation:false];
     [self passcodeWithAutomaticallyPromptForBiometricValidation:false];