How can implement sharedpreferences in ionic?


#1

Hi All,

Can any one implement shared-preferences in ionic app? Please help me to implement.

Requirement-
I was created ionic app. Now i am adding some new functionality in same app(Updated version). For new functionality i created new table and added column in older table. So, i want Alter query should run only one time. And On launch all new data should synchronize.

How can i implement ?
I struggling last 3-4 day. Please give me some idea to handled above condition.

Thanks.


#2

were u able to find a solution for this?
I’m also facing an issue to access sharedpreferences inside the app


#3

i have not implemented yet.


#4

can check this but I am not sure.

http://ngcordova.com/docs/plugins/preferences/