{"repo":"alpha0010/react-native-file-access","free":true,"listed":false,"github":"https://github.com/alpha0010/react-native-file-access","clone":"git clone https://github.com/alpha0010/react-native-file-access.git","description":"Filesystem access for React Native","language":"TypeScript","stars":340,"topics":["react-native","filesystem"],"license":"MIT","category":"mobile-apps","readme_excerpt":"react-native-file-access Filesystem access for React Native. Supports saving network requests directly to the filesystem. Supports Android scoped storage, a requirement when targeting API 30 or higher. Installation Apple restricts usage of certain privacy sensitive API calls. If you do not use disk space measurements or file timestamps, define the following variable in your Podfile to exclude restricted API calls. More details. If the app does not use autolinking, continue to the manual install instructions in the wiki. Compatibility React Native react-native-file-access --------------- ------------------------ - Append content to a file. - Default encoding of data is assumed utf8. FileSystem.concatFiles(source: string, target: string): Promise - Append a file to another file. Returns number of bytes written. FileSystem.cp(source: string, target: string, onProgress?: (bytesCopied: number, contentLength: number, done: boolean) = void): Promise - Copy a file. FileSystem.cpAsset(asset: string, target: string, type?: 'asset' 'resource'): Promise - Copy a bundled asset file. - Default type is asset . Prefer this when possible. - resource uses the Android res/ folder, and inherits the associated naming restrictions. FileSystem.cpExternal(source: string, targetName: string, dir: 'audio' 'downloads' 'images' 'video'): Promise - Copy a file to an externally controlled location. - On Android API level - Check device available space. FileSystem.exists(path: string): Promise - Check if a","default_branch":null,"files":null,"tree":[],"storefront":"/r/alpha0010","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/alpha0010/react-native-file-access/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}