question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Recommended Way to "Clean Up" Created Images?

See original GitHub issue

Is there a recommended way to clean up images that are created vis-a-vis this package? I noticed that a bunch of files are getting stuffed into Documents/images and I’m trying to figure out the best way to clear that out after the user has completed their task that generated the image.

screen shot 2016-12-10 at 8 39 23 am

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
skr1tcommented, Apr 19, 2017

I still have two questions about this issue:

  1. If you ARE NOT using this option, images are stored in a “tmp” folder. When is this folder being emptied? Because I can’t find a trigger that does this.

  2. If you ARE using this option because you want to use the cameraRoll option, you have to provide the clean up service yourself? For example, empty the (specific) folder after the upload to the backend is finished.

Kind regards.

1reaction
marcshillingcommented, Dec 10, 2016

Seems like you’re providing the storageOptions key in your options dictionary. That’s what saves the images. If you don’t want them saved simply omit that key.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Use these tips to clean and organize all your photos
Messy photo gallery? Tricks to clean it up once and for all · Here's the secret … Don't try to do it all...
Read more >
How to clean up and organize your photos | Digital Trends
You can do this when you're sorting your photos or at a later date, but it's a good idea to de-clutter your collection...
Read more >
Cleanup.pictures - Remove objects, people, text and defects ...
Remove unwanted objects from photos, people, text, and defects from any picture for free. It's extremely easy in just a few clicks with...
Read more >
How to Clean Up Pictures on iPhone & Android | Free App to Try
2. Clean Up Your Pictures ... Tap on Photo Edit on the app's home screen. Then, upload the photo you want to clean...
Read more >
How to quickly clean up grainy photos - CNET
Step 3: Locate the image you want to clean up on your computer. Screenshot by Nicole Cozma. Step 4: Go to the Device...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found