alpha0010 / react-native-file-access

Filesystem access for React Native
MIT License
313 stars 26 forks source link

FileSystem.cpExternal creates a invalid file if the file already access #71

Open imanshul opened 1 year ago

imanshul commented 1 year ago

react-native: 0.62.0 react-native-file-access: 1.7.1 Platform: Android

Bug When trying to copy the file from local cache to the downloads file and if the file already access it is creating a new file with. (1)..(2) in name but it's adding that after extension resulting in a invalid file.

To reproduce Download same file again using FileSystem.cpExternal giving same name