I recently ran a build on my app and it was working fine. However, when I looked at the storage situation, i saw that data was building up. You see my app is more like a wallpaper app so i am not sure why this much data is accumulating. All wallpapers are stored locally and not downloaded from the internet. Any idea how to make the app clear its appdata when it exits?
Hi, i’m using this procedure in my windows app.
Maybe you can make it work as well.
for file in lfs.dir(system.pathForFile("",system.TemporaryDirectory)) do os.remove(system.pathForFile(file,system.TemporaryDirectory)) end
If you are using any ad networks then they will massively increase your storage and there is nothing you can do about it.
Hi, i’m using this procedure in my windows app.
Maybe you can make it work as well.
for file in lfs.dir(system.pathForFile("",system.TemporaryDirectory)) do os.remove(system.pathForFile(file,system.TemporaryDirectory)) end
If you are using any ad networks then they will massively increase your storage and there is nothing you can do about it.