QUESTION: migration from localStorage to SQLite storage

Hello,

Currently I have an iOS/Android app in production that uses the ionic-storage library ("@ionic/storage": “2.1.3”). The production version is built without cordova SQLite storage plugin (cordova-sqlite-storage).

Again, I’m using this plugin WITHOUT SQLite installed

The questions are:

What type of storage this library is using right now? Is it localStorage, WebSQL or IndexedDB?
Will the currently saved user data be migrated, if I install the cordova-sqlite-storage plugin and update the app in production?
If not, how can I migrate from SQLite-less local storage to the SQLite-ful one?

Thank you for help!

I’m having the same concern. Specially the persistency of the data if OS can still decide to delete the data of the application.

1 Like