AEiosApp commented on issue #510:
URL:
https://github.com/apache/cordova-plugin-file/issues/510#issuecomment-1025380585
**Found temporary workaround:**
In my app I downloaded an archive (about 84 Mb) with images to
```cordova.file.dataDirectory```, that after extracting was like this:
```
ContentGraphics/
- SubFolder1/
- image1_1.jpg
- image1_2.jpg
- SubFolder2/
- image2_1.jpg
- image2_2.jpg
```
On the second app launch Android deleted this folder without any prompt
**How I made it working:**
I restructured my archive with images to be:
```
ContentGraphicsSubFolder1/
- image1_1.jpg
- image1_2.jpg
ContentGraphicsSubFolder2/
- image2_1.jpg
- image2_2.jpg
```
After this magic Android don't delete (smaller) folders any more.
Hope it may help anybody!)
--
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]