mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 02:58:07 +00:00
Set coreQueue in sharedCore init
This commit is contained in:
parent
64dc7b5efe
commit
2a365f3baa
1 changed files with 1 additions and 3 deletions
|
|
@ -22,7 +22,6 @@
|
|||
// swiftlint:disable identifier_name
|
||||
|
||||
import linphonesw
|
||||
import linphone // needed for unwrapped function linphone_core_set_push_and_app_delegate_dispatch_queue
|
||||
import Combine
|
||||
import UniformTypeIdentifiers
|
||||
import Network
|
||||
|
|
@ -142,9 +141,8 @@ class CoreContext: ObservableObject {
|
|||
}
|
||||
}
|
||||
|
||||
self.mCore = try? Factory.Instance.createSharedCoreWithConfig(config: Config.get(), systemContext: nil, appGroupId: Config.appGroupName, mainCore: true)
|
||||
self.mCore = try? Factory.Instance.createSharedCoreWithConfig(config: Config.get(), systemContext: Unmanaged.passUnretained(coreQueue).toOpaque(), appGroupId: Config.appGroupName, mainCore: true)
|
||||
|
||||
linphone_core_set_push_and_app_delegate_dispatch_queue(self.mCore.getCobject, Unmanaged.passUnretained(coreQueue).toOpaque())
|
||||
self.mCore.callkitEnabled = true
|
||||
self.mCore.pushNotificationEnabled = true
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue