I am working in some application, and the users take a lot of photos.
The users only can see a view with the last week data (from all the users), and could explore the images gallery .
The problem is that I am not sure about the behaviour on the user device about the older images. The user could not see on appsheet the older images, only the last week. But I am not sure if these older images are automatically erased on the user device.
In the case that the images will not erased, it will be a problem on user device. Think in 4Gb stored by month.
In 2 months I could have a serious problem
I searched some folder for the appsheet trying to find the images but I couldn’t.
Someone knows where the image are stored on the user device?.
AppSheet will store a copy of all images on the user’s device. The copy will remain so long as the image is available to the user in the app. To avoid making older images available to a user, user security filters to exclude table rows that reference older photos.
I am using the security filters to exclude the older rows.
I have another question. What happen if I a have a table with a public Image URL column. The images are downloaded on the user device.
The logic of apply a security filter will work like the first case ?. The stored images (from the public urls) will be automatically erased on the user phone?.
Security filters are only applied to rows sent from the server to the app; they have no effect on data used by or stored on the app itself.
Images downloaded by the app for display in the app will be stored in the app’s cached data, and will remain on the device until the app’s cache is cleared (e.g., by reinstalling the app). An image downloaded and explicitly saved to the device is completely outside the app’s control.