Forgive me if this information is buried somewhere I haven’t yet found (but please be kind and link it if it’s there ):
My organization needs to transition away from an Encrypted Storage plugin (Intel Security) as it seems to have finally hit it’s end-of-life. This plugin did two things for us, encrypted the data as well as stored it onto the device. This was used to save login tokens for our users to avoid having to login each app session (along with other user metadata).
Abstracting out the encryption portion, I have a few questions about Ionic Storage:
- With default configuration, is there a size limit on how much can be stored?
a. If so, how is memory removed from the device? FIFO, LIFO, etc.
- Is SQLite required to prioritize data?
a. I cannot easily find information on how to prioritize data as mentioned in the Ionic Storage README which redirects to LocalForage.
If anyone also has any Cordova encryption best-practices, I’d love to hear them as well. I’m struggling on whether we should go native-encryption vs client-side, and/or what JS library to use.
Thanks for any and all help,