Skip to content
This repository has been archived by the owner on May 31, 2023. It is now read-only.

A way to manually delete cropped temp files #67

Open
josencv opened this issue Feb 25, 2020 · 1 comment
Open

A way to manually delete cropped temp files #67

josencv opened this issue Feb 25, 2020 · 1 comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed iOS Issue on iOS specific devices

Comments

@josencv
Copy link

josencv commented Feb 25, 2020

Hi, first of all, thanks for making this plugin. It has proven to be very useful.

I have the following use case which is giving me a problem:

I have an app where the user constantly takes photos (which are cropped by this plugin) and they get uploaded continuously to a server, and then deleted from the phone. It works fine, except for the fact that every time a photo is taken, a temporary copy is stored in the iOS tmp directory which is not being cleared by the OS, not even when the disk is full.

I'm not sure why exactly the OS is not clearing the tmp folder (checked on various iPhones with different versions), but it could be solved if I could manually delete the temporary copy once the file is already cropped, which I can't because the plugin adds a UUID to the tmp filename.

I could delete the entire tmp folder every once in a while, but that would cause other issues with tmp files not related to this plugin.

Btw, the app works fine on Android :)

@josencv josencv changed the title A way to manually delete cropped temp file A way to manually delete cropped temp files Feb 25, 2020
@btastic btastic added good first issue Good for newcomers help wanted Extra attention is needed iOS Issue on iOS specific devices labels Apr 7, 2021
@btastic
Copy link
Owner

btastic commented Apr 7, 2021

Thanks for your request. I currently do not have the time maintaining this library. I added some labels so it might get picked up by someone.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
good first issue Good for newcomers help wanted Extra attention is needed iOS Issue on iOS specific devices
Projects
None yet
Development

No branches or pull requests

2 participants