react-native-filesystem
react-native-filesystem copied to clipboard
Simple file system API for iOS & Android.
I want to rename the .mp4 file, that are stored in my local storage. can anyone help me? Thanks Hassan Raza
Just a typo
How to get a list of all files from a directory ?
How to check if file exist in storage? I tried : FileSystem.fileExists("file:///storage/emulated/0/Download/image.jpg") FileSystem.fileExists("/storage/emulated/0/Download/image.jpg") Non of this work and file exist in that path.
Please publish version 0.2.0 to NPM so that the module as published will work with React 0.47+ The version in master was bumped in: https://github.com/benwixen/react-native-filesystem/commit/727973566fbefe16badab287604ae76a224c0648 The related issue to fix...
react native breaking change now this lib will fail to build with error ``` /node_modules/react-native-filesystem/android/src/main/java/com/benwixen/rnfilesystem/RNFileSystemPackage.java:18: error: method does not override or implement a method from a supertype @Override ^ ```
const directoryExists = FileSystem.directoryExists(PictureDir + '/smarida'); it returns object,object. How can check the directory exists or not?
Chunk
How to read Chunk of a file ?
Need new functions: ``` FileSystem.hasExternalStorage() FileSystem.isExternalStorageAvailable() ``` And new storage-options: ``` FileSystem.storage.external ``` `FileSystem.readFile()` also needs to throw a recognizable exception if the storage has been removed.
I'm looking for a method to read a file in chunks by specifying a start and end offset similar to that of node's [`fs.createReadStream`](https://nodejs.org/api/fs.html#fs_fs_createreadstream_path_options) method: > options can include start...