mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
More logs
This commit is contained in:
parent
2c0b29d14f
commit
6a07227d8d
@ -1399,6 +1399,10 @@ private func extractAccountManagerState(records: AccountRecordsView<TelegramAcco
|
||||
self.notificationTokenPromise.set(.single(deviceToken))
|
||||
}
|
||||
|
||||
func application(_ application: UIApplication, didFailToRegisterForRemoteNotificationsWithError error: Error) {
|
||||
Logger.shared.log("App \(self.episodeId)", "register for notifications: didFailToRegisterForRemoteNotificationsWithError (error: \(error))")
|
||||
}
|
||||
|
||||
func application(_ application: UIApplication, didReceiveRemoteNotification userInfo: [AnyHashable : Any], fetchCompletionHandler completionHandler: @escaping (UIBackgroundFetchResult) -> Void) {
|
||||
let _ = (self.sharedContextPromise.get()
|
||||
|> take(1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user