mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 01:20:12 +00:00
Logging the failed device token registration (#969)
* logging the failed registration * Update ElementX/Sources/Services/Notification/Manager/NotificationManager.swift Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com> --------- Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
This commit is contained in:
@@ -86,7 +86,9 @@ class NotificationManager: NSObject, NotificationManagerProtocol {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func registrationFailed(with error: Error) { }
|
func registrationFailed(with error: Error) {
|
||||||
|
MXLog.error("[NotificationManager] device token registration failed with error: \(error)")
|
||||||
|
}
|
||||||
|
|
||||||
func showLocalNotification(with title: String, subtitle: String?) async {
|
func showLocalNotification(with title: String, subtitle: String?) async {
|
||||||
let content = UNMutableNotificationContent()
|
let content = UNMutableNotificationContent()
|
||||||
|
|||||||
Reference in New Issue
Block a user