Skip to content

Commit

Permalink
Force disable CallKit integration due to missing NSE Entitlement
Browse files Browse the repository at this point in the history
  • Loading branch information
Kylmakalle committed Oct 31, 2024
1 parent b675b0d commit b686f30
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions submodules/TelegramCallsUI/Sources/CallKitIntegration.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit b686f30

Please sign in to comment.