[Bug] [Files] [Android] Creating files in new directories not working.
Monabr opened this issue · 1 comments
Monabr commented
Describe the bug
Can't create directory and file using this library
To Reproduce
Try to create files like that:
- KmpFileSystem.createDirectNameAtAppStorage(KmpFileSystem.getAppDirectory() + "/files/custom")
- KmpFileSystem.createFileAt(KmpFileSystem.getAppDirectory() + "/files/custom/myfile.txt)
Expected behavior
Directory "custom" is created
Additional context
I am using version 1.5.7
The problem is that you are not using .mkdir()
or .mkdirs()
to create directory so they are not created.
Monabr commented
I was not using this right. The right usage is
KmpFileSystem.createDirectNameAtAppStorage("custom")