Open Monabr opened 1 month ago
So a function where you can invoke which generates a random file, based on the file type passed to it? Can you give me an example?
@TheArchitect123 Here is example.
val filePath = KmpFileSystem.getTempCacheDirectory() + "/" + fileName + ".csv"
val file = FileUtils.fromString(filePath, false)
val stream = file?.openOutputStream()
stream?.use { it.write(exportData) }
KmpShare.shareFileWithAnyApp(filePath = filePath)
I should be able to do this by only using your library.
Hello.
It would be nice to be able to create temporary files (this part is missing) with this library, to share it (this part is already there) also with the functions of this library.