You can use either LocalStorage or SqlStorage (preferred) with Ionic 2. You can store arrays fine, you need to store it as a JSON string though and when you retrieve the data from storage you can convert that JSON string back into an array.

Hi Josh,
I see so many examples of Storage, LocalStorage, ngStorage but having no luck getting them to work in Ionic2.
I was working with ngStorage in Ionic1 which was great as I did not need convert to JSON and back. But I see no signs it works in Ionic2.

When you refer LocalStorage, is it imported from ‘ionic-angular’ ?

I have tried:
this.local = new LocalStorage(Storage);
this.local.set(‘visited’, ‘true’);
and this.local.get('visited) but it returns an object with nothing in it.
A small example would be great or a link to a working example in Ionic2.

I can get SqlStorage to work but just seemed like overkill to create tables for One array.
But, I can fall back to it.