Question: Using storage with SQLite, what plugin is required?


#1

In order to use SQLite with the Storage module, the ionic docs say that the cordova plugin cordova-plugin-sqlite should be installed (https://ionicframework.com/docs/storage/#usage). However, this plugin is deprecated and the plugin’s readme says to use https://github.com/litehelpers/Cordova-sqlite-storage instead.

So, my question is if I should just install Cordova-sqlite-storage instead and the Storage module will just use it properly or if I need to install any other plugin.

If anyone is able to reply, I would ask the Ionic team to update their docs respectively afterwards.

Thanks very much for any reply in advance,
Sebastian


#2

I think you have some stale version of the docs, because if I follow the link you give it says:

cordova plugin add cordova-sqlite-storage


#3

Oh, my fault, thanks very much!