From f37518fa054b7ce273fe1d28978e330e99f07f65 Mon Sep 17 00:00:00 2001 From: otsmr Date: Mon, 14 Apr 2025 21:42:54 +0200 Subject: [PATCH] fix #110 --- lib/src/services/notification_service.dart | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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, + ), ); }