Force disable CallKit integration due to missing NSE Entitlement

This commit is contained in:
Kylmakalle
2024-10-31 23:17:49 +02:00
parent b675b0df44
commit b686f30589

View File

@@ -19,11 +19,13 @@ public final class CallKitIntegration {
#if targetEnvironment(simulator)
return false
#else
if #available(iOSApplicationExtension 10.0, iOS 10.0, *) {
return Locale.current.regionCode?.lowercased() != "cn"
} else {
return false
}
// MARK: Swiftgram disabled due to missing Notification Extension Filtering Entitlement
return false
// if #available(iOSApplicationExtension 10.0, iOS 10.0, *) {
// return Locale.current.regionCode?.lowercased() != "cn"
// } else {
// return false
// }
#endif
}