react-native-blob-util
react-native-blob-util copied to clipboard
A project committed to making file access and data transfer easier, efficient for React Native developers.
I'm trying to add caching for mp3/mp4s before playing them in our media player, and I got react-native-blob-util setup, but it appears to wait until the whole file is downloaded...
* please provide the version of installed library and RN project. ``` "react-native": "0.66.2", "react-native-blob-util": "^0.13.18", ``` We have reports from iOS users, that when they start uploading photos/videos (with...
[File System Access API](https://github.com/RonRadtke/react-native-blob-util/wiki/File-System-Access-API), there is currently no documentation for slice, I learned it from here [read chunk for large files, 250mb +](https://github.com/joltup/rn-fetch-blob/issues/80#issuecomment-413842502) > slice(path_to_source:string, path_to_write:string, firstByte: number, lastByte:number):Promise
when i use android download manger, After downloading the file to Path A, move it to Path B. and flush() A like this, ~~~ await ReactNativeBlobUtil.config({ addAndroidDownloads: { useDownloadManager: true,...
In first case, I am taking a file where file name doesn't contains spaces --> **Hotel_to_office.PNG** And below is The` URI `of above file `file:///private/var/mobile/Containers/Data/Application/29D722D5-D76D-4367-BB2C-AD27F2E635EE/tmp/com.growsmart.main-Inbox/Hotel_to_office.PNG` `ReactNativeBlobUtil.fs.stat()` is able to read...
Sometimes it's helpful to test code in real world scenarios, for this a working download function is required. To help others, I want to share my work on this. Create...
Hello, The TypeScript definition (abusively) [exports a const named "ReactNativeBlobUtil"](https://github.com/RonRadtke/react-native-blob-util/blob/v0.13.6/index.d.ts#L6) as well as the default export, while the [index.js does not export it](https://github.com/RonRadtke/react-native-blob-util/blob/v0.13.6/index.js#L45). When using `eslint-plugin-import`, the default `import/no-named-as-default` rule...
Hi, any idea why on Android 11 I don't see the notificaion with useDownloadManager? On Android 10 it works OK.
Hello, We already have `ReactNativeBlobUtil.ios.excludeFromBackupKey` for iOS. It would be great to also have a way to change file attributes (e.g., to set `NSFileProtectionKey` on files and folders). Thoughts on...