AEiosApp opened a new issue #510: URL: https://github.com/apache/cordova-plugin-file/issues/510
# Bug Report I was using ```cordova.file.dataDirectory``` for several years as a location to download images from server to be able to use them offline in my app. After updating Android with Jan, 2022 security update, I've noticed following activity: #1 First app launch after installation - download images to ```cordova.file.dataDirectory```, can successfully access images during the session #2 Second app launch - I can see that images are not available any more. When I tried to readEntries of ```cordova.file.dataDirectory```, I've noticed that my folder with images is absent! So, Android removed it without asking me (or user) What else I've noticed: - same issue if I use ```cordova.file.applicationStorageDirectory```, ```cordova.file.cacheDirectory```, ```cordova.file.externalDataDirectory``` - issue happens only with folder with images (*.jpg files). I also downloaded another data with different file format - and this folder still on place, but worth to say that folder with images has much bigger size. ### What is expected to happen? Any suggestion on where to store images downloaded from the server using this plugin? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
