Storage of information on a user device is very important and required in almost every application. This information saved on a user device can be of any type including user sessions, profile details, user or application settings etc.
In Ionic application, we can store such information in WebView memory which remains even if the user closes application or clears app cache from the device. There are two easy ways for storage in the Ionic application:
Continue reading Ionic 4 | Storage Tutorial in Ionic using Native Storage Plugin
In this post, we will add Cordova’s SQLite storage plugin in Ionic version 4 Application. This is the common and widely used storage plugin by most of the Ionic developers since version 1 of Ionic. Storage is widely used to store personalized settings by the user in the application which is not required to be stored on the server side.
Application developers sometimes need to save a bunch of information on the user side to control some features and provide some offline functionalities to application users, in that case, local storage proves very handy. Using Ionic’s Native storage plugin we can storage key value pairs which may have any type of data from a simple string or integers to JSON objects. But this locally stored data will remain until the application is Uninstalled or device is formatted.
Continue reading Ionic 4 | Adding Native Storage in Application Using Cordova SQLite Storage Plugin