From dcbb130ae8ce717c6b6623802d7489e89b214f4c Mon Sep 17 00:00:00 2001 From: Benoit Martins Date: Thu, 9 Oct 2025 12:05:00 +0200 Subject: [PATCH] Enable core push notifications by default --- Linphone/Core/CoreContext.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Linphone/Core/CoreContext.swift b/Linphone/Core/CoreContext.swift index e6bb1ca48..52ee098ee 100644 --- a/Linphone/Core/CoreContext.swift +++ b/Linphone/Core/CoreContext.swift @@ -146,8 +146,7 @@ class CoreContext: ObservableObject { self.mCore = try? Factory.Instance.createSharedCoreWithConfig(config: Config.get(), systemContext: Unmanaged.passUnretained(coreQueue).toOpaque(), appGroupId: Config.appGroupName, mainCore: true) self.mCore.callkitEnabled = true - - self.mCore.pushNotificationEnabled = self.mCore.defaultAccount?.params?.pushNotificationAllowed ?? false + self.mCore.pushNotificationEnabled = true let appName = Bundle.main.infoDictionary?["CFBundleName"] as? String let version = Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String