react-native-fetch-blob
react-native-fetch-blob copied to clipboard
A project committed to making file access and data transfer easier, efficient for React Native developers.
``` const download = (url: string, imageTimeStamp: number, callback: (filepath: string) => void) => { let ext: string = '.jpg'; const { config, fs } = RNFetchBlob; let PictureDir =...
In react-native v0.55.3 project, I did the following 1. Install reactive-native-fetch-blob => npm install --save react-native-fetch-blob 2. react-native link Doesn't return to cli. Need to forcefully press return or Ctrl+Z...
Hi, I trying to do a background download on iOS. this is my config: let task = RNFB .config({ overwrite: !headers, path: tempPath, IOSBackgroundTask: true, indicator: true }) .fetch('GET', url,...
Hi! Thanks for this great repo :) I'm trying to get the size of a dir I'm saving images to (see https://github.com/kfiroo/react-native-cached-image) but the `stat` method seems to return the...
After updating and installing from the App Store, the pictures downloaded to the local area are missing and cannot be displayed.
Instead of assuming the `compileSdkVersion`, `targetSdkVersion`, etc, read it from the root project. Default `compileSdkVersion` and `targetSdkVersion` to the latest versions. Android Target API Level 26 will be required in...
Hi , When I am trying to download file using below code: ``` RNFetchBlob.config({ path: tmpPath }) .fetch('GET', url, { Range: 'bytes=' + previousFileSize + '-' }) .then((resp) => {...
People keep adding issues here, which are left unanswered since the new project page is at https://github.com/joltup/react-native-fetch-blob There should be a very visible, in upper case and ⚠️ symbol, message...
Hey there -- I am having trouble opening a file on IOS. The following code results with an error `Error: The file “E7BD182B-89ED-4929-960B-067297D1936E-11811-00021674B2B235F4.jpg” couldn’t be opened.` but it just works...
RN: 0.54 RNFB: 0.10.8 iOS 11 (Simulator and device) `let clip.uri = assets-library://asset/asset.JPG?id=9DC79222-EC93-45CA-9891-5D91AEDC5F7C&ext=JPG` let fd = new FormData() let stats = await RNFetchBlob.fs.stat(clip.uri) fileSize = stats.size fileObj = { uri:...