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") } }