Landry Norris09/28/2022, 1:30 PM
. I also have a log on the line before printing the value of the exists check. In my logs, I see
if(!fileSystem.exists(path)) fileSystem.createDirectory(path, true)
I know that this function will only run on the main thread, so it’s not a threading issue, and I’m using FileSystem.SYSTEM on iOS. If I set mustCreate to false, then it runs the createDirectory line, but no folder is created. Logs also show that the parent path exists and is definitely in my app’s folder.
Does it exist yet? false Uncaught Kotlin exception: okio.IOException: File exists