Compare commits
2 Commits
071d51b25e
...
3.3.0+137
| Author | SHA1 | Date | |
|---|---|---|---|
|
76e7ba7898
|
|||
|
6e6616b236
|
@@ -85,8 +85,6 @@ class NotificationService: UNNotificationServiceExtension {
|
|||||||
customIdentifier: nil
|
customIdentifier: nil
|
||||||
)
|
)
|
||||||
|
|
||||||
let intent = self.createMessageIntent(with: sender, meta: metaCopy, body: content.body)
|
|
||||||
self.donateInteraction(for: intent)
|
|
||||||
content.categoryIdentifier = "CHAT_MESSAGE"
|
content.categoryIdentifier = "CHAT_MESSAGE"
|
||||||
self.contentHandler?(content)
|
self.contentHandler?(content)
|
||||||
})
|
})
|
||||||
@@ -187,7 +185,7 @@ class NotificationService: UNNotificationServiceExtension {
|
|||||||
private func createMessageIntent(with sender: INPerson, meta: [AnyHashable: Any], body: String) -> INSendMessageIntent {
|
private func createMessageIntent(with sender: INPerson, meta: [AnyHashable: Any], body: String) -> INSendMessageIntent {
|
||||||
INSendMessageIntent(
|
INSendMessageIntent(
|
||||||
recipients: nil,
|
recipients: nil,
|
||||||
outgoingMessageType: .incomingMessageText,
|
outgoingMessageType: .outgoingMessageText,
|
||||||
content: body,
|
content: body,
|
||||||
speakableGroupName: meta["room_name"] != nil ? INSpeakableString(spokenPhrase: meta["room_name"] as! String) : nil,
|
speakableGroupName: meta["room_name"] != nil ? INSpeakableString(spokenPhrase: meta["room_name"] as! String) : nil,
|
||||||
conversationIdentifier: "\(meta["room_id"] ?? "")",
|
conversationIdentifier: "\(meta["room_id"] ?? "")",
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev
|
|||||||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
||||||
# In Windows, build-name is used as the major, minor, and patch parts
|
# In Windows, build-name is used as the major, minor, and patch parts
|
||||||
# of the product and file versions while build-number is used as the build suffix.
|
# of the product and file versions while build-number is used as the build suffix.
|
||||||
version: 3.3.0+136
|
version: 3.3.0+137
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ^3.7.2
|
sdk: ^3.7.2
|
||||||
|
|||||||
Reference in New Issue
Block a user