diff --git a/Riot/Modules/Application/LegacyAppDelegate.m b/Riot/Modules/Application/LegacyAppDelegate.m index b96722aff..e95d05c39 100644 --- a/Riot/Modules/Application/LegacyAppDelegate.m +++ b/Riot/Modules/Application/LegacyAppDelegate.m @@ -391,6 +391,7 @@ NSString *const AppDelegateUniversalLinkDidChangeNotification = @"AppDelegateUni if (![application isProtectedDataAvailable]) { + NSLog(@"[AppDelegate] didFinishLaunchingWithOptions: Terminating the app because protected data not available"); exit(0); } diff --git a/RiotNSE/NotificationService.swift b/RiotNSE/NotificationService.swift index 70676adea..82fcda16e 100644 --- a/RiotNSE/NotificationService.swift +++ b/RiotNSE/NotificationService.swift @@ -316,7 +316,8 @@ class NotificationService: UNNotificationServiceExtension { callInviteContent.lifetime > event.age, (callInviteContent.lifetime - event.age) > UInt(NSE.Constants.timeNeededToSendVoIPPushes * MSEC_PER_SEC) { self.sendVoipPush(forEvent: event) - + } else { + NSLog("[NotificationService] notificationContent: Do not attempt to send a VoIP push, there is not enough time to process it.") } case .roomMessage, .roomEncrypted: if isRoomMentionsOnly {