From 8d6f09658251f463af731c2f38a8c5f5bb85acd9 Mon Sep 17 00:00:00 2001 From: QuentinArguillere Date: Thu, 7 Mar 2024 12:01:04 +0100 Subject: [PATCH] Disable background notification process for now (will be used later for account creation token processing) --- Linphone/LinphoneApp.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Linphone/LinphoneApp.swift b/Linphone/LinphoneApp.swift index dcc46dea3..a5135b9c1 100644 --- a/Linphone/LinphoneApp.swift +++ b/Linphone/LinphoneApp.swift @@ -39,12 +39,12 @@ class AppDelegate: NSObject, UIApplicationDelegate { func application(_ application: UIApplication, didReceiveRemoteNotification userInfo: [AnyHashable: Any], fetchCompletionHandler completionHandler: @escaping (UIBackgroundFetchResult) -> Void) { Log.info("Received background push notification, payload = \(userInfo.description)") - + /* let creationToken = (userInfo["customPayload"] as? NSDictionary)?["token"] as? String if let creationToken = creationToken { NotificationCenter.default.post(name: accountTokenNotification, object: nil, userInfo: ["token": creationToken]) } - completionHandler(UIBackgroundFetchResult.newData) + completionHandler(UIBackgroundFetchResult.newData)*/ } func applicationWillTerminate(_ application: UIApplication) {