Disable siri announcement

This commit is contained in:
Ilya Laktyushin 2019-11-08 19:52:18 +04:00
parent e97d129c64
commit ffc9dda416

View File

@ -1983,9 +1983,9 @@ final class SharedApplicationContext {
var carPlayOptions = options var carPlayOptions = options
carPlayOptions.insert(.allowInCarPlay) carPlayOptions.insert(.allowInCarPlay)
if #available(iOS 13.2, *) { //if #available(iOS 13.2, *) {
carPlayOptions.insert(.allowAnnouncement) // carPlayOptions.insert(.allowAnnouncement)
} //}
unknownMessageCategory = UNNotificationCategory(identifier: "unknown", actions: [], intentIdentifiers: [], hiddenPreviewsBodyPlaceholder: hiddenContentString, options: options) unknownMessageCategory = UNNotificationCategory(identifier: "unknown", actions: [], intentIdentifiers: [], hiddenPreviewsBodyPlaceholder: hiddenContentString, options: options)
replyMessageCategory = UNNotificationCategory(identifier: "withReply", actions: [reply], intentIdentifiers: [INSearchForMessagesIntentIdentifier], hiddenPreviewsBodyPlaceholder: hiddenContentString, options: carPlayOptions) replyMessageCategory = UNNotificationCategory(identifier: "withReply", actions: [reply], intentIdentifiers: [INSearchForMessagesIntentIdentifier], hiddenPreviewsBodyPlaceholder: hiddenContentString, options: carPlayOptions)