ios: don't configure CXProvider if CallKit is disabled

pull/3898/head jitsi-meet_3553
Saúl Ibarra Corretgé 6 years ago committed by Paweł Domas
parent a4b3f8ade6
commit 877cea59e7
  1. 2
      ios/sdk/src/callkit/JMCallKitProxy.swift

@ -62,6 +62,8 @@ import Foundation
@objc public static func configureProvider(localizedName: String,
ringtoneSound: String?,
iconTemplateImageData: Data?) {
guard enabled else { return }
let configuration = CXProviderConfiguration(localizedName: localizedName)
configuration.iconTemplateImageData = iconTemplateImageData
configuration.maximumCallGroups = 1

Loading…
Cancel
Save