Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Accessibility is not working #162

Open
somihennahyu opened this issue Dec 14, 2020 · 2 comments
Open

Accessibility is not working #162

somihennahyu opened this issue Dec 14, 2020 · 2 comments

Comments

@somihennahyu
Copy link

somihennahyu commented Dec 14, 2020

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.

@iceboxi
Copy link

iceboxi commented Apr 15, 2021

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

@LeoSnek
Copy link

LeoSnek commented May 19, 2021

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants