Does IOS delete WebSQL databases in need of storage space?


#1

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?


#2

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


#3

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.