|
|
|
|
@ -9,6 +9,7 @@ import Foundation |
|
|
|
|
import UIKit |
|
|
|
|
import AVFoundation |
|
|
|
|
import FirebaseCore |
|
|
|
|
import FirebaseCrashlytics |
|
|
|
|
|
|
|
|
|
class AppDelegate : NSObject, UIApplicationDelegate { |
|
|
|
|
|
|
|
|
|
@ -84,8 +85,8 @@ extension AppDelegate: UNUserNotificationCenterDelegate { |
|
|
|
|
func userNotificationCenter(_ center: UNUserNotificationCenter, didReceive response: UNNotificationResponse) async { |
|
|
|
|
|
|
|
|
|
print("didReceive notification") |
|
|
|
|
FileLogger.log("userNotificationCenter didReceive > cancelling sound player") |
|
|
|
|
let timerId = self._timerId(notificationId: response.notification.request.identifier) |
|
|
|
|
// Conductor.maestro.cancelCountdown(id: timerId) |
|
|
|
|
Conductor.maestro.cancelSoundPlayer(id: timerId) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|