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