podverse / podverse-rn

Podverse mobile app written in React Native for iOS, Android, and F-Droid
https://podverse.fm/about
GNU Affero General Public License v3.0
218 stars 36 forks source link

App is taking up excessive storage (stray downloaded episodes are not being deleted properly?) #2126

Closed mitchdowney closed 7 months ago

mitchdowney commented 10 months ago

Possibly iOS only?

I don’t understand why the app is taking 14 gigs of data. My settings don’t allow for any downloads automatically and I have setting to delete once done.

When I checked my app installed, I had 11GB. I went to Settings > Downloads and Settings > Other and deleted both, but the app only dropped to 5GB installed.

The only way I was able to remove the excess storage being used was to delete and reinstall the app 😕 after a fresh install, the app only took up 30MB, so it would appear that somehow downloaded episodes are getting stuck in our app storage, and cannot be removed.

At a minimum, we need a way to make the "delete downloaded episodes" button in settings to actually delete all audio/video files, not just the ones that we have references saved to for downloaded episodes.

Ideally we need to figure out how these files are getting lost in app storage in the first place and prevent it from happening.

lovegaoshi commented 10 months ago

i had a similar problem, it was due to RN-blob-util had incomplete downloads that lingered in the temp folder; i ended up with a button that does a ls from the temp folder and deleted all files that is not registered with my app.

mitchdowney commented 7 months ago

This should be in v4.16.0.