浏览代码

fix

Signed-off-by: Marino Faggiana <marino@marinofaggiana.com>
Marino Faggiana 2 年之前
父节点
当前提交
63ffecf325
共有 2 个文件被更改,包括 0 次插入5 次删除
  1. 0 4
      iOSClient/AppDelegate.swift
  2. 0 1
      iOSClient/Brand/iOSClient.plist

+ 0 - 4
iOSClient/AppDelegate.swift

@@ -383,8 +383,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
     }
     }
 
 
     func handleRefreshTask(_ task: BGTask) {
     func handleRefreshTask(_ task: BGTask) {
-
-        // Schedule a new task.
         scheduleAppRefresh()
         scheduleAppRefresh()
         
         
         guard !account.isEmpty else {
         guard !account.isEmpty else {
@@ -401,8 +399,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
     }
     }
 
 
     func handleProcessingTask(_ task: BGTask) {
     func handleProcessingTask(_ task: BGTask) {
-
-        // Schedule a new task.
         scheduleAppProcessing()
         scheduleAppProcessing()
         
         
         guard !account.isEmpty else {
         guard !account.isEmpty else {

+ 0 - 1
iOSClient/Brand/iOSClient.plist

@@ -98,7 +98,6 @@
 	<key>UIBackgroundModes</key>
 	<key>UIBackgroundModes</key>
 	<array>
 	<array>
 		<string>audio</string>
 		<string>audio</string>
-		<string>fetch</string>
 		<string>processing</string>
 		<string>processing</string>
 		<string>remote-notification</string>
 		<string>remote-notification</string>
 	</array>
 	</array>