diff --git a/lib/src/services/notification_service.dart b/lib/src/services/notification_service.dart index 67e5cf8..93c2bac 100644 --- a/lib/src/services/notification_service.dart +++ b/lib/src/services/notification_service.dart @@ -330,6 +330,7 @@ Future> getPushKeys(String storageKey) async { iOptions: IOSOptions( groupId: "CN332ZUGRP.eu.twonly.shared", synchronizable: false, + accessibility: KeychainAccessibility.first_unlock, ), ); Map pushKeys = {}; @@ -354,7 +355,10 @@ Future setPushKeys(String storageKey, Map pushKeys) async { key: storageKey, value: jsonString, iOptions: IOSOptions( - groupId: "CN332ZUGRP.eu.twonly.shared", synchronizable: false), + groupId: "CN332ZUGRP.eu.twonly.shared", + synchronizable: false, + accessibility: KeychainAccessibility.first_unlock, + ), ); }