fix: Move temporary files outside of the cache directory (#2193)

Co-authored-by: Pun Butrach <pun.butrach@gmail.com>
This commit is contained in:
kitadai31
2024-09-09 19:42:03 +09:00
committed by GitHub
parent d688f38a63
commit 1ef1f8d47a
3 changed files with 13 additions and 1 deletions

View File

@ -364,6 +364,9 @@ class MainActivity : FlutterActivity() {
"An error occurred:\n$stack"
)
}
} finally {
inFile.delete()
tmpDir.deleteRecursively()
}
handler.post { result.success(null) }