Storing data client side


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,

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.

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

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.