react-native-fs icon indicating copy to clipboard operation
react-native-fs copied to clipboard

Native filesystem access for react-native

Results 229 react-native-fs issues
Sort by recently updated
recently updated
newest added

We need new update from react-native-fs library for Android 11. We are unable to create folder in internal storage in Android 11. We are using below versions in my app....

The code that call RNFS.stat (version 2.9.11) works. But after I upgrade RNFS to the latest version, and RNFS.stat always run into exception, says file does not exists. My sample...

Hello, RNFs version used : 2.16.6 I am trying to read the size of a document with RNFS.stat. ``` DocumentPicker.pick({ type: [DocumentPicker.types.pdf], }).then((res) => { RNFS.stat(res.uri).then((result) => { console.log(${result.size}); }).catch((e)...

When I pick a single file, it works fine: ```javascript const res = await DocumentPicker.pick(); const content = await fs.readFile(res[0].uri); // good ``` When I pick a directory, it does...

Failing in the final catch block. Works with local paths sometimes, but not with google drive or some other phones ``` DocumentPicker.show({ filetype: [DocumentPickerUtil.pdf()], }, (error, res) => { var...

I am trying to download the File in Android 11 but unable to download the file. Every time it's giving ENOENT: no such file or directory, open '/storage/emulated/0/fileName.pdf' error. FileHelper.js...

discussion
feedback-wanted

``` export default async (url, callback) => { console.log(url); const ext = url.indexOf(".jpg") !== -1 ? ".jpg" : ".mp4"; // console.log(isImage); let date = new Date(); let fileName = date.toDateString()...

Getting new NativeEventEmitter() was called with a non-null argument without the required removeListeners method. Latest.

I use react-native-fs to download file in iOS. I check on simulator it's download success with path: _/Users/admin/Library/Developer/CoreSimulator/Devices/443C8F7F-AB92-4217-A999-A7BDBA52A6B6/data/Containers/Data/Application/99958A5C-E350-4855-B8CE-ED6FA999C619/Documents._ On real device, it's path (iPhone 8 Plus White 64Gb): _/var/mobile/Containers/Data/Application/63F84623-E684-456F-A55A-01E22708C012/Documents/pexels-photo-1109561.jpeg_ I...

I'm using `hash` to generate checksums for files before I upload them to AWS S3. ```javascript RNFS.hash(localUrl, "md5") ``` This seems to work great. Once the file has been uploaded,...