-
Hi, I am using However on android the file is copied to `/data/user/0/[APPID]/cache/[FILENAME]. This means that if the user picks a second file with the same name, the first one is overwritten. My app processes the files from the cache dir and deletes them, but there is no way to guarantee that the user doesn't pick a second one with the same name before the first is processed. Is there a way to ensure the file gets a unique name in the cache directory on Android? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
hello, no, there is no way to do this, but I'm open to accepting a PR that defines the behavior for this - something that configures whether files are overwritten or created under unique name |
Beta Was this translation helpful? Give feedback.
hello, no, there is no way to do this, but I'm open to accepting a PR that defines the behavior for this - something that configures whether files are overwritten or created under unique name