itinance / itinance/react-native-fs
BUG: `moveFile` fails with an error on iOS if the destination file already exists.
Open
- Dominant language
- C++
- Stars
- 5k
- Forks
- 1k
- PR merge metrics
- No merged PRs in 30d
Description
The [method used](https://github.com/itinance/react-native-fs/blob/master/RNFSManager.m#L413) in the iOS native side has a "feature" where it [categorically refuses to overwrite the destination file](https://developer.apple.com/documentation/foundation/nsfilemanager/1413529-moveitematpath?language=objc). As a result, the behavior of `moveFile` in this library differs between iOS and Android.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.