A data transfer library for React Native.
Questions tagged [react-native-fetch-blob]
128 questions
1
vote
0 answers
fetch-blob-react-native "Error: can't open file"
when I go for the code here .. http://www.rntools.co/pkg/react-native-fetch-blob
I installed library successfully and download file but when I try top open that (PDF) file .. android emulator say (Can't open file) ..

Ahmed Fares
- 11
- 3
1
vote
0 answers
CryptoJS AES Encryption in React Native
How do I encrypt and decrypt an epub/zip file in react native? I am using react-native-fetch-blob for file streaming. I have also posted this question previously in detail with no result. Here is the link if you need. Also the link of CryptoJS.
I…

Sagaryal
- 415
- 4
- 15
1
vote
0 answers
CryptoJS AES Decryption Not Giving original ZIP/EPUB file in react native
I am using CryptoJS to encrypt my epub (or zip) file and decrypt it. I am using react native to create the app. But I don't know why the decrypted file is not the original epub file. The error while opening the decrypted epub file is: Error in…

Sagaryal
- 415
- 4
- 15
1
vote
0 answers
RNFetchBlob still creates empty file when none exists to download
I am using the react-native-fetch-blob library. However, when a 404 message is sent it creates an empty file and calls it blag6.zip. This is my code:
try {
response = await RNFetchBlob
.config({
path: RNFetchBlob.fs.dirs.DocumentDir…

kojow7
- 10,308
- 17
- 80
- 135
1
vote
1 answer
react-native-fetch-blob IOS API openDocument not working
I require showing applications in the IOS device capable of opening various file formats.I tried using react native share to achieve the same but options of copying file to other apps did not appear.So i tried using react native fetch blob.…

Deepak Jacob
- 41
- 9
1
vote
1 answer
Getting error "File ... couldn’t be opened because there is no such file" for exising file
I'm using rn-fetch-blob 0.10.8 with RN 0.49 on iOS with iPhone 6 Simulator.
I'm using the react-native-image-resizer module to resize an image and then I use react-native-fetch-blob to move that image to the right location. However, when doing so…

laurent
- 88,262
- 77
- 290
- 428
1
vote
1 answer
How to delete file from API using React-Native-Fetch-Blob?
I'm trying to remove the file from the API using React-Native-Fetch-Blob, but it doesn't work. However when trying to delete the file using Postman it works.
var dataToServer = { 'path' : this.state.path};
RNFetchBlob.fetch('DELETE', 'url', {
…

user3440030
- 45
- 1
- 8
1
vote
1 answer
'react-native-fs' and 'react-native-fetch-blob' can not find the downloaded file
I user 'react-native-fs' and 'react-native-fetch-blob' to test file download in android emulator,
the console show me that the download is success, but I can not find where the file is in my emulator file system,or maybe it did not download…

蓝眼胡子
- 13
- 1
- 3
1
vote
0 answers
Sending a FormData() as the body of a request with RNFetchBlob
I have a problem with sending FormData() with RNFetchBlob.fetch();
I tried put external fields to array but it doesn't work
[{
"name": 'some',
"filename": filename,
"data":RNFetchBlob.wrap(video.uri),
'message': this.state.message,
…

Mag
- 297
- 1
- 5
- 19
1
vote
0 answers
PUT method Calling api in fetch get Error line in React-native
I have some problem while calling the fetch API using PUT method.
Here is my Code:
var updateString =…

Lavaraju
- 2,614
- 7
- 29
- 49
1
vote
0 answers
React-Native-Fetch-Blob: connection was lost
I am using React-Native-Fetch-Blob and it is working fine for small files, but when I try to download an 80MB zip file it stops about 30% through and throws an error stating that the network connection was lost. The download link works everywhere…

pnizzle
- 6,243
- 4
- 52
- 81
1
vote
1 answer
React-Native: Progress Bar animation when uploading a photo
I'm trying to make a simple animation that indicates the progress of the upload. For that I use the great react-native-fetch-blob library in order to upload and track the progress of the upload. I'm updating the state as you can see below but I'm…

e_netr
- 563
- 1
- 6
- 22
1
vote
1 answer
Upload image taken with camera to firebase storage on React Native
All I want to do is upload a photo taken using react-native-camera to firebase storage with react-native-fetch-blob, but no matter what I do it doesn't happen.
I've gone through all of the documentations I can find and nothing seems to work.
If…

Armin
- 1,271
- 3
- 17
- 31
1
vote
0 answers
react-native-fetch-blob, ios and android applications crash
Ios and android application crash in release version. In dev version I have no problems. I think, may be some problems with linking.

Sobol Roman
- 304
- 3
- 7
1
vote
1 answer
Require local image downloaded with react-native-fetch-blob
I’m trying to require an image downloaded with react-native-fetch-blob in my Image component, but when I give it the image path it keeps saying me « Unknow named module: ‘/Users/…/Library/…’
What is the right way to require images stored in a local…

Nicolas Meienberger
- 777
- 2
- 8
- 18