SwiftR icon indicating copy to clipboard operation
SwiftR copied to clipboard

critical files saved in tmp folder

Open top2tech opened this issue 9 years ago • 2 comments

As below screenshot, all critical files of SwiftR are saved in tmp folder, will it be cleaned up by user or iOS?

screen shot 2016-01-08 at 6 03 22 pm

top2tech avatar Jan 09 '16 02:01 top2tech

It's currently up to iOS, but it's probably a good idea to do any cleanup proactively. FWIW, writing to the temp directory is a workaround for a WKWebView limitation on iOS 8. There's no need to do this on iOS 9. Not sure yet about Mac OS X 10.11, but I'll check.

Do you have an opinion on how/when the cleanup should happen?

adamhartford avatar Jan 10 '16 00:01 adamhartford

Actually I don't want to do cleanup. I'm just worried that it may be cleaned up by user or by iOS, then SwiftR will be broken?

top2tech avatar Jan 11 '16 03:01 top2tech