Explorar o código

remove old code

Marino Faggiana %!s(int64=6) %!d(string=hai) anos
pai
achega
798a2583e0
Modificáronse 1 ficheiros con 0 adicións e 5 borrados
  1. 0 5
      iOSClient/AppDelegate.m

+ 0 - 5
iOSClient/AppDelegate.m

@@ -202,11 +202,6 @@
     self.timerProcessAutoDownloadUpload = [NSTimer scheduledTimerWithTimeInterval:k_timerProcessAutoDownloadUpload target:self selector:@selector(loadAutoDownloadUpload) userInfo:nil repeats:YES];
     self.timerUpdateApplicationIconBadgeNumber = [NSTimer scheduledTimerWithTimeInterval:k_timerUpdateApplicationIconBadgeNumber target:self selector:@selector(updateApplicationIconBadgeNumber) userInfo:nil repeats:YES];
 
-    // Registration Push Notification
-    UIUserNotificationType types = UIUserNotificationTypeSound | UIUserNotificationTypeBadge | UIUserNotificationTypeAlert;
-    UIUserNotificationSettings *notificationSettings = [UIUserNotificationSettings settingsForTypes:types categories:nil];
-    [application registerUserNotificationSettings:notificationSettings];
-    
     // Fabric
     [Fabric with:@[[Crashlytics class]]];
     [self logUser];