In my last blog, I promised to provide a step-by-step guide to implementing phone storage. The main purpose of storing data on the phone (offline support) is to reduce load time and optimize downloads.
In this blog, I am sharing my experience using storage with Ionic 2.
There are different ways of integrating storage with the Ionic 2 app. I was considering two options, 1) use local storage, a collection of key-value pairs within the application or 2) use SQLite database. I chose the SQLite database. The reason is that local storage has a key-value structure, it’s hard to query a large amount of data, plus it has a limitation of 10 MB of data.
There are a few other blogs, but I found them convoluted. So, I tried to simplify the steps. Let’s see the step-by-step procedure.
STEP 1: BASIC INSTALLATION
Install the latest version of Ionic and Cordova by –
STEP 2: START…
Summary Not Applicable
In my last blog I promised to provide step by step guide to implement on phone storage. The main purpose of storing data on phone (offline support) is to reduce load time and optmize the downloads.
In this blog I am sharing my experience on how to use storage with Ionic 2.
There are different ways of integrating storage with Ionic 2 app. I was considering two options, 1) use local-storage which is collection of key-value pairs within application or 2) use SQLite database. I chose SQLite database. The reason being, local storage has key value structure, its hard to query large amount of data, plus it has limitation of 10 MB data.
There are few other blogs, but I found them little convoluted. So, I tried to simplify steps. Let’s see, step by step procedure.
Step 1: Basic Installation
Install latest version of Ionic and Cordova by –
Step 2: Start…
View original post 550 more words