Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
imanshul opened this issue Jul 13, 2023 · 0 comments
Open
Labels
bug Something isn't working

Comments

@imanshul
Copy link

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

@imanshul imanshul added the bug Something isn't working label Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant