Questions tagged [rn-fetch-blob]
99 questions
2
votes
1 answer
Downloading mp3 file with RN-FETCH-BLOB
I am trying to download an mp3 file with rn-fetch-blob in ios from a link
https://www.myinstants.com/media/sounds/anime-wow-sound-effect-mp3cut.mp3. Than I will share this file with react-native-share but I am not able to retrieve correct file like…

Selim Mıdıkoğlu
- 136
- 3
- 13
2
votes
1 answer
React Native - Is it possible to download multiple assets using rn-fetch-blob?
Is there a way to download an array of objects (of .mp4, .jpg, etc...) using rn-fetch-blob? Right now this code is grabbing a single .mp4 url, but what if I have an array of .mp4 mixed in with some .jpg? How would I do such a thing?
say I have…

hellomello
- 8,219
- 39
- 151
- 297
1
vote
1 answer
React native upload image as binary using rn-fetch-blob
I am trying to upload an image as binary. I used rn-fetch-blob library for this one. Because normal fetch gives network errors.
const path = file.path.replace('file://', '');
const uploadPath = RNFetchBlob.wrap(path);
RNFetchBlob.fetch(
'PUT',
…

Dulaj Madusanka
- 308
- 2
- 17
1
vote
1 answer
Unable to update React native app version from external source using rn-fetch-blob
I want to update my existing app using rn-fetch-blob.
I have already installed my apk in my mobile having
versionCode 1
versionName "0.4.5"
Now I am downloading a new apk file from s3 bucket having
versionCode 1
versionName "0.4.6"
using…

Avinash A
- 665
- 1
- 7
- 22
1
vote
0 answers
rn-fetch-blob is breaking after assemble release
i am using rn-fetch-blob to download the files to my local directory.
npx react-native run-android is running as expected, but after assemble release it fails.
the debug apk is also working.
here is the package.json file
"dependencies": {
…

Shubham Shaw
- 841
- 1
- 11
- 24
1
vote
0 answers
I’m using RN-fetchblob for downloading files and Pictures but the swipeable does not change language when i change it on my IOS device
Swipe-able of RN-fetchBlob
'Picture is attached above'
Problem: problem is that it does not change the language when i change my language on my IOS device in settings and as well as on my Simulator.
Actually my app is in two languages English and…

Mehran Afridi
- 11
- 1
1
vote
1 answer
React Native: I removed rn-fetch-blob, and now another package throws an error
I was using rn-fetch-blob in my React Native app. I replaced it with react-native-blob-util. I'm also using redux-persist-filesystem-storage, which uses rn-fetch-blob. redux-persist-filesystem-storage started throwing an error (null is not an object…

gkeenley
- 6,088
- 8
- 54
- 129
1
vote
0 answers
How download locale file with rn-fetch-blob?
I use rn-fetch-blob for download file.
I don't have any problems, when I use URL, like this
const FILE_URL = "https//:google.com/my-file.pdf".
File downloaded. Everything is OK.
But if I save my file in android/app/main/src/assets folder, and change…

Ivan Ivanov
- 11
- 3
1
vote
0 answers
RnFetchBlob can not access file in Android
i have some file like this:
Then I am using this code to access that file:
let path = Platform.OS === 'ios' ? `${fs.dirs.MainBundleDir}/${filename}`
: fs.asset(`html/${dx.material.blue.light.css}`)
fs.stat(path).then( stats => {…

famfamfam
- 396
- 3
- 8
- 31
1
vote
1 answer
Package rn-fetch-blob contains invalid configuration: "dependency.hooks" is not allowed
Package rn-fetch-blob contains invalid configuration: "dependency.hooks" is not allowed. Please verify it's properly linked using "react-native config" command and contact the package maintainers about this.
package.json -
"react-native":…

lakshan sampath
- 161
- 1
- 7
1
vote
0 answers
Downloading multiple files in the Rnfetch Blob
I have created this function and adding downloads in the Rn fetch blob
import RNFetchBlob from 'rn-fetch-blob'
const files_que = [...items];
const Downloadingque = async () => {
while (files_que.length > 0) {
const…

Rover
- 661
- 2
- 18
- 39
1
vote
1 answer
Can't run react-native app on iOS 5 error: duplicate symbols for architecture x86_64
Log output:
duplicate symbol '_bridgeRef'…
1
vote
1 answer
rn-fetch-blob failed to list path with uri com.android.providers.media.documents
After picking file with react-native-document-picker like this:
const res = await DocumentPick.pick({
type: [DocumentPick.types.allFiles],
});
I've got two types of URI depends of device (Android…

dcr31000
- 33
- 5
1
vote
0 answers
rnFetchBlob Error: Download manager failed to download from "url"
i'm trying to download a pdf file from url but i'm getting this error
Error: Download manager failed to download from "myurl" status code=16
i can download the pdf file when i use the same url in chrome
const downloadFile = (FILE_URL) => {
…

Samy Tcheikman
- 140
- 4
- 16
1
vote
1 answer
React native rn-fetch-blob download with post method
i need to download a file(.pdf) which is coming from flask rest API by the code
return send_file(file_location, as_attachment=True)
i tried using RNFetchBlob
RNFetchBlob
.config({
addAndroidDownloads: {
…

Farooq sheikh
- 31
- 7