Преглед изворни кода

Disable pushkit notifications.

Signed-off-by: Ivan Sein <ivan@nextcloud.com>
Ivan Sein пре 5 година
родитељ
комит
1fe0823757
1 измењених фајлова са 3 додато и 3 уклоњено
  1. 3 3
      iOSClient/AppDelegate.m

+ 3 - 3
iOSClient/AppDelegate.m

@@ -90,9 +90,9 @@ PKPushRegistry *pushRegistry;
     self.listMainVC = [[NSMutableDictionary alloc] init];
     
     // Push Notification
-    pushRegistry = [[PKPushRegistry alloc] initWithQueue:dispatch_get_main_queue()];
-    pushRegistry.delegate = self;
-    pushRegistry.desiredPushTypes = [NSSet setWithObject:PKPushTypeVoIP];
+//    pushRegistry = [[PKPushRegistry alloc] initWithQueue:dispatch_get_main_queue()];
+//    pushRegistry.delegate = self;
+//    pushRegistry.desiredPushTypes = [NSSet setWithObject:PKPushTypeVoIP];
     
     [application registerForRemoteNotifications];