From e6e1087d85bee25cf052573b6a1bf97a8d681117 Mon Sep 17 00:00:00 2001 From: QuentinArguillere Date: Mon, 22 Apr 2024 16:53:45 +0200 Subject: [PATCH] Disable remote push --- Linphone/LinphoneApp.swift | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Linphone/LinphoneApp.swift b/Linphone/LinphoneApp.swift index fff6667d7..e634a7722 100644 --- a/Linphone/LinphoneApp.swift +++ b/Linphone/LinphoneApp.swift @@ -27,9 +27,10 @@ class AppDelegate: NSObject, UIApplicationDelegate { func application(_ application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: Data) { let tokenStr = deviceToken.map { String(format: "%02.2hhx", $0) }.joined() Log.info("Received remote push token : \(tokenStr)") - CoreContext.shared.doOnCoreQueue { core in - Log.info("Forwarding remote push token to core") - core.didRegisterForRemotePushWithStringifiedToken(deviceTokenStr: tokenStr + ":remote") + CoreContext.shared.doOnCoreQueue { core in, + Log.warn("Push are disabled for this version, do not forward push token to the core") + //Log.info("Forwarding remote push token to core") + //core.didRegisterForRemotePushWithStringifiedToken(deviceTokenStr: tokenStr + ":remote") } }