Native Storage Issues?


#1

Hello All,

I had a general question regarding the issues with native storage

I was wanting to implement native storage with SQLite, but I was getting errors in my command line:

npm install --save @ionic/storage
npm ERR! Unexpected token | in JSON at position 240603

and

ionic cordova plugin add cordova-sqlite-storage

cordova plugin add cordova-sqlite-storage --save
(node:8960) UnhandledPromiseRejectionWarning: CordovaError: Failed to fetch plugin cordova-sqlite-storage via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
Error: cmd: Command failed with exit code 1 Error output:
npm ERR! Unexpected token | in JSON at position 240603

I was researching for a solution and came across the github repository.
(https://github.com/litehelpers/Cordova-sqlite-storage)

Apparently there are current issues with all platforms with the local storage? I’m not sure what to do?
Any help is greatly appreciated, because I am in need of some type of local storage in my mobile application.