diff --git a/Packages/Env/Sources/Env/PushNotificationsService.swift b/Packages/Env/Sources/Env/PushNotificationsService.swift index 17bb27a9..f271a6dd 100644 --- a/Packages/Env/Sources/Env/PushNotificationsService.swift +++ b/Packages/Env/Sources/Env/PushNotificationsService.swift @@ -154,6 +154,11 @@ extension PushNotificationsService: UNUserNotificationCenterDelegate { handledNotification = .init(account: account.account, notification: notification) } catch {} } + + public func userNotificationCenter(_ center: UNUserNotificationCenter, + willPresent notification: UNNotification) async -> UNNotificationPresentationOptions { + return [.banner, .sound] + } } extension Data {