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.
(GitHub - storesafe/cordova-sqlite-storage: A Cordova/PhoneGap plugin to open and use sqlite databases on Android, iOS and Windows with HTML5/Web SQL API)
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.