mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 02:58:07 +00:00
Enable core push notifications by default
This commit is contained in:
parent
0a06644473
commit
aae7c290be
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue