EddyVerbruggen / nativescript-secure-storage

:closed_lock_with_key: NativeScript plugin for secure local storage of fi. passwords
MIT License
111 stars 26 forks source link

Is there a way to get an array of all stored keys? #18

Closed trashbytes closed 6 years ago

trashbytes commented 6 years ago

I'd love to do some cleanup of obsolete data and to iterate and check through them I would need to know which keys are stored. Is that possible?

EddyVerbruggen commented 6 years ago

No, you have to do that housekeeping yourself.. there is no native call I could use to give all those values. So keep a list of keys in your code, or throw everything in a JSON object and store that, so you can wipe the object.

trashbytes commented 6 years ago

Thank you, sir!