diff --git a/.package.resolved b/.package.resolved index 94879cab5..a9ab9753d 100644 --- a/.package.resolved +++ b/.package.resolved @@ -85,8 +85,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/Infomaniak/ios-notifications", "state" : { - "revision" : "0da8aa11e60766acaa62e34c84a8049eeb6e933f", - "version" : "2.0.1" + "revision" : "4609e33800a11f9f7acd38df66d1fbaaba0e60a8", + "version" : "2.1.0" } }, { diff --git a/Mail/AppDelegate.swift b/Mail/AppDelegate.swift index 1ac8e0b67..0a2a67260 100644 --- a/Mail/AppDelegate.swift +++ b/Mail/AppDelegate.swift @@ -123,7 +123,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { KeychainHelper(accessGroup: AccountManager.accessGroup) } let notificationService = Factory(type: InfomaniakNotifications.self) { _, _ in - InfomaniakNotifications() + InfomaniakNotifications(appGroup: AccountManager.appGroup) } let appLockHelper = Factory(type: AppLockHelper.self) { _, _ in AppLockHelper() diff --git a/MailNotificationServiceExtension/NotificationService.swift b/MailNotificationServiceExtension/NotificationService.swift index 1c7369a6e..80b024d58 100644 --- a/MailNotificationServiceExtension/NotificationService.swift +++ b/MailNotificationServiceExtension/NotificationService.swift @@ -42,7 +42,7 @@ class NotificationService: UNNotificationServiceExtension { KeychainHelper(accessGroup: AccountManager.accessGroup) } let notificationService = Factory(type: InfomaniakNotifications.self) { _, _ in - InfomaniakNotifications() + InfomaniakNotifications(appGroup: AccountManager.appGroup) } SimpleResolver.sharedResolver.store(factory: networkLoginService) diff --git a/Project.swift b/Project.swift index 562ebca02..dae283e9d 100644 --- a/Project.swift +++ b/Project.swift @@ -31,7 +31,7 @@ let project = Project(name: "Mail", .package(url: "https://github.com/Infomaniak/ios-dependency-injection", .upToNextMajor(from: "1.1.6")), .package(url: "https://github.com/Infomaniak/ios-core", .revision("4c0c389de2e10e615ad79a854d2489977017efe5")), .package(url: "https://github.com/Infomaniak/ios-core-ui", .upToNextMajor(from: "2.3.0")), - .package(url: "https://github.com/Infomaniak/ios-notifications", .upToNextMajor(from: "2.0.1")), + .package(url: "https://github.com/Infomaniak/ios-notifications", .upToNextMajor(from: "2.1.0")), .package(url: "https://github.com/Infomaniak/ios-create-account", .upToNextMajor(from: "1.1.0")), .package(url: "https://github.com/Infomaniak/ios-bug-tracker", .upToNextMajor(from: "2.0.0")), .package(url: "https://github.com/ProxymanApp/atlantis", .upToNextMajor(from: "1.21.0")),