Open pradumnk-mahanta opened 3 years ago
This is strange though, the Remove All Options do not work with iOS Security keys.
With,
let secureStorage = new SecureStorage(); console.log(secureStorage.getSync({ key: "KEY" })); secureStorage.removeAllSync(); console.log(secureStorage.getSync({ key: "KEY" }));
Will log, VALUE and undefined respectively,
VALUE
undefined
But for values set with, let secureStorage = new SecureStorage(kSecAttrAccessibleWhenUnlockedThisDeviceOnly);
let secureStorage = new SecureStorage(kSecAttrAccessibleWhenUnlockedThisDeviceOnly);
the following,
console.log(secureStorage.getSync({ key: "KEY" })); secureStorage.removeAllSync(); console.log(secureStorage.getSync({ key: "KEY" }));
will log, VALUE and VALUE respectively,
Any feedback on why this may be the case?
This is strange though, the Remove All Options do not work with iOS Security keys.
With,
Will log,
VALUE
andundefined
respectively,But for values set with,
let secureStorage = new SecureStorage(kSecAttrAccessibleWhenUnlockedThisDeviceOnly);
the following,
will log,
VALUE
andVALUE
respectively,Any feedback on why this may be the case?