From aae7c290be3f1f535fce53fa24b4bd54f6e68759 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 664574dff..69508a9f5 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