martinkasa / capacitor-secure-storage-plugin

Capacitor plugin for storing string values securly on iOS and Android.
MIT License
153 stars 55 forks source link

feat: add allKeys api #20

Closed Badisi closed 3 years ago

Badisi commented 4 years ago

Storage implementations usually offers a way to iterate over all the entries in the storage :

This benefits in being able to only remove the entries you were responsible for (ie. looking for entries with prefixed keys) and not remove the whole storage.

-> For iOS, SwiftKeychainWrapper already implements an .allKeys api (missing in their doc). -> For Android, I haven't checked yet.

martinkasa commented 3 years ago

Added in v0.5.0 by PR #27