feat: add sound for push notification
This commit is contained in:
parent
5d52fc4578
commit
40b5472d1f
|
@ -58,6 +58,7 @@ class NotificationService: UNNotificationServiceExtension {
|
|||
bestAttemptContent.title = notification.title
|
||||
bestAttemptContent.subtitle = ""
|
||||
bestAttemptContent.body = notification.body
|
||||
bestAttemptContent.sound = .default
|
||||
bestAttemptContent.userInfo["plaintext"] = plaintextData
|
||||
|
||||
UserDefaults.shared.notificationBadgeCount += 1
|
||||
|
|
Loading…
Reference in New Issue