Does IOS delete WebSQL databases in need of storage space?


Hi All,

I’m using WebSQL databases to store my data in my ionic app, but I’ve read that if you use LocalStorage the data might be lost on IOS if the smartphone is low on storage capacity. So I wondered if the same is apparent for the WebSQL?


I’m wondering the same, any experience to share?


It can, along with localstorage / indexedDB.

You have a higher chance of it staying around with the native-storage plugin (which falls back to websql / indexedDB on browsers, brilliant for testing).

Below is the link for native-storage.