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