Storing data client side


#1

Hey

I want to know if it is possible to keep all needed data for my application in client side.

If yes, when this data will be removed ? only when the user uninstall the application?

Basically i don’t want to create a database or a backend for my application everything will be stored in user side.

Best regards,


#2

You can use Ionic’s Local Storage.

NG2 Webstore is more suitable to my project since it’s synchronous, so if you need a sync storage, use this one.


#3

Thank you. But in which case the storage is removed ?


#4

I believe local storage is removed by the device if it needs disk space, otherwise it’s only removed programmatically.

Also, I think that SQL Storage isn’t removed even with low space.