SwiftKeychainWrapper icon indicating copy to clipboard operation
SwiftKeychainWrapper copied to clipboard

Accessibility is not working

Open somihennahyu opened this issue 5 years ago • 2 comments

Hello, I am not sure if I am missing anything here but I attempted to store and get my value in Keychain while the phone is locked. I did so through calling of the push registry(Push Kit) then setting it . I set it as follows : KeychainWrapper.standard.set(object, forKey: key, withAccessibility: .always)

However, when I tried to retrieve it, it will always come out as nil. I suspect that this has something to do with PushKit.

somihennahyu avatar Dec 14 '20 07:12 somihennahyu

.always is deprecated after iOS 12, I think it is the reason.

iceboxi avatar Apr 15 '21 09:04 iceboxi

I have just found that when using .always in conjunction with a shared keychain the items in the keychain are not actually removed when you call to remove them.

LeoSnek avatar May 19 '21 15:05 LeoSnek