Skip to content

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

Description

@imanshul

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions