7
Views
4
Comments
Solved
delete data from local storage after a period of time
Question

Is it possible to delete data from local storage after 3 months?

Let's say that I've been running my app from some time now and I want to automatically delete the data that's older than 3 months

Solution

You could timestamp the date of entry in the entity and then when delete old data when the users startsup the app. 

Yes, I would use the On Application Ready event for this. It would then run every time the app is started.