You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I made class that conforms GenericPasswordSecureStorable and every operation (read/write/save) works fine until I set var accessible: LocksmithAccessibleOption? {return .always} . After I set accessible I get duplicate error when try to create in secure store and notFound when try to delete from secure store. What's the issue here?
The text was updated successfully, but these errors were encountered:
I wasn't using accessible before and assuming default value of .whenUnlocked, I changed to .whenUnlocked, did deleteFromSecureStore() and then changed to .whenUnlockedThisDeviceOnly, and it worked.
So I think accessible affects createInSecureStore() and not deleteFromSecureStore().
@shaljam : My app is already in app store with default value of .whenUnlocked option. Now I want to use .afterFirstUnlock. How should I do that. because as soon as I use var accessible: LocksmithAccessibleOption? {return .afterFirstUnlock} I'm not able to delete.
I tried making new account and service but that time also I got nil for readFromsecureStore
I made class that conforms
GenericPasswordSecureStorable
and every operation (read/write/save) works fine until I setvar accessible: LocksmithAccessibleOption? {return .always}
. After I setaccessible
I getduplicate
error when try to create in secure store andnotFound
when try to delete from secure store. What's the issue here?The text was updated successfully, but these errors were encountered: