marinofaggiana 4 years ago
parent
commit
16ce78a1c3
1 changed files with 6 additions and 0 deletions
  1. 6 0
      iOSClient/AppDelegate.m

+ 6 - 0
iOSClient/AppDelegate.m

@@ -239,6 +239,8 @@
     dispatch_after(dispatch_time(DISPATCH_TIME_NOW, 2 * NSEC_PER_SEC), dispatch_get_main_queue(), ^(void) {
         [[NCService shared] startRequestServicesServer];
     });
+    
+    [[NCCommunicationCommon shared] writeLog:@"The application Will enter in foreground"];
 }
 
 //
@@ -261,6 +263,8 @@
     #endif
     
     [[NCNetworking shared] verifyUploadZombie];
+    
+    [[NCCommunicationCommon shared] writeLog:@"The application did become active"];
 }
 
 //
@@ -322,6 +326,8 @@
     FileProviderDomain *fileProviderDomain = [FileProviderDomain new];
     [fileProviderDomain removeAllDomains];
     //[fileProviderDomain registerDomains];
+    
+    [[NCCommunicationCommon shared] writeLog:@"initialize Main"];
 }
 
 #pragma --------------------------------------------------------------------------------------------