mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-04-07 05:45:53 +00:00
Force disable CallKit integration due to missing NSE Entitlement
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user