diff --git a/ios/sdk/src/callkit/JMCallKitProxy.swift b/ios/sdk/src/callkit/JMCallKitProxy.swift index 2d97ac001a..cc0061a7bc 100644 --- a/ios/sdk/src/callkit/JMCallKitProxy.swift +++ b/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