AllanWang / Frost-for-Facebook

An extensive and functional third party app for Facebook
https://allanwang.github.io/Frost-for-Facebook/
GNU General Public License v3.0
1.09k stars 85 forks source link

Downloaded media disappeared after uninstalling #1791

Open hrishikesh-deshpande opened 3 years ago

hrishikesh-deshpande commented 3 years ago

Describe the bug The images and videos I had saved were deleted after I uninstalled the app.

To Reproduce Steps to reproduce the behavior: Store images and videos via app and then uninstall it. The media will disappear from the gallery.

Details (please provide at least the app version):

AllanWang commented 3 years ago

There could be something going on but I don't think it's a Frost issue. I'm using the standard download manager to download files, so they're handled by your OS at that point. Your gallery could potentially be viewing cached files, which are indeed removed on uninstall, but that doesn't constitute a permanent download

hrishikesh-deshpande commented 3 years ago

I am positive that they were deleted from the folder they were saved to, and I know this because there were thousands of them ( photos as well as videos ).

pablobc-mx commented 2 years ago

@AllanWang I don't know why this was closed, since I have the same issue 3 months later. I just lost hundreds of pictures because of this. According to this, DownloadManager removes all downloaded files by the app regardless if they are stored in an external directory. So even though files appear to be permanent, the user must move the files manually in order for them to survive uninstalls.

AllanWang commented 2 years ago

Seems like this is specifically an issue (feature) with the standard download manager, which seems dumb

https://stackoverflow.com/questions/44407369/why-are-the-files-downloaded-by-my-app-deleted-after-uninstalling-it/49333586

I can look into adding back a custom downloader, or renaming the files after download

AllanWang commented 2 years ago

https://stackoverflow.com/a/64357198/4407321

hrishikesh-deshpande commented 2 years ago

@AllanWang Please move them to somewhere like /sdcard/Frost. The previous location (DCIM) is shown under camera in google photos and I have no control over backing it up or selecting the frost directory from backed up camera images.