Questions tagged [react-native-fetch-blob]

A data transfer library for React Native.

Repository

128 questions
0
votes
2 answers

rn-fetch-blob on real iPhone failing to upload image (localhost testing)

I'm using react-native-image-picker (^0.28.0) along with rn-fetch-blob (^0.10.15). It works so far when using a Simulator, but when I use it on real iPhone, the image isn't uploading, it fails to upload with the following error that is being catched…
msqar
  • 2,940
  • 5
  • 44
  • 90
0
votes
1 answer

React-native-fetch-blob gives error to create .apk file

I have created an app which captures photo and upload to aws s3. For this I have used react-native-fetch-blob. But it gives error . Therfore, I unistalled it and install rn-fetch-blob. After uninstalling also it gives the same error. How to resolve…
Vidya Kabber
  • 171
  • 1
  • 16
0
votes
2 answers

react-native-aws3 : Must provide `contentType` option with the object content type

I have created an app which captures images and uploads to aws3. Previously, captured photos are stored in the Pictures folder and I was uploading from the Picture folder. Now, I am storing all the photos in my app folder(I have created a folder in…
0
votes
1 answer

RNFetchBlob.mkdir got 1 arguments, expected 2

When i try to setup ongoing react-native project in that one of the plugin is react-native-fetch-blob i'll try many but can't resolve this issue. also i remove that plugin from app and resetup all step from npm react-native-fetch-blob after…
Hiren Vaghela
  • 916
  • 1
  • 9
  • 22
0
votes
1 answer

How can I change my local image to a file type in React Native?

I want to change my local image into file type so I can send it on a api. How can I do it? How can it be done with react-native-fetch-blob Please help. This is what I'm trying so far but it gives me a warning that it cannot find the path to the…
Shubham Bisht
  • 577
  • 2
  • 26
  • 51
0
votes
0 answers

react-native-fetch-blob for the application

I do not know the reason. But the app stops. after finishing downloading the file. on android devices. works fine until you finish the download Does anyone have any suggestions? export const downloadFile = (userUid, video, teacher) => { return…
0
votes
1 answer

Copy local files to documents folder

sadly, RN are not capable to user string variables as parameter for require(). So, if you need to create a simple memory game 3x3 where each square you need to render a different image from the local folder: forget it. I am trying to create a…
Marco Jr
  • 6,496
  • 11
  • 47
  • 86
0
votes
1 answer

RNFetchBlob is not working to upload image

I am trying to make a upload function for my Firebase Cloud Storage. I am using RNFetchBlob, along with react-native-image-picker. I can select photos, but it will not upload. All other Firebase functions works great and it is installed through…
0
votes
1 answer

getting error while uploading image to firebase storage in React Native using react-native-fetch-blob

creating React-Native app using firebase and react-native-fetch-blob library. i am unable to upload image to firebase due to this error java.lang.String com.facebook.react.bridge.ReadableMap.string(java.lang.string) on a null object Reference. it…
0
votes
1 answer

How can i use RN-Fetch-Blob to read json from sdcard

I have a noob question, I'm trying to read the movies.json of Facebook but from a sdcard.. i'm using RN-Fetch-Blob RNFetchBlob.fs.readFile("file:///storage....", 'utf-8') .then((data) => { let id0 = data.movies[0].id; }) but this is not working,…
0
votes
1 answer

Can't get the data response object from react-native-customized-image-picker

I have read in the document here: https://github.com/mg365/react-native-customized-image-picker that I could get the response object of data from an image, but when I tried it I got undefined. I can get other objects like size, mime, and path like…
0
votes
1 answer

remove downloaded image by react native fetch blob?

I am using RNFetchBlob to share image as base64 format. But the image is downloading in my local folder. I want to delete it. By my research knowledge i want to unlink the image path. I don't know how to do that. Here is my code…
khalifathul
  • 558
  • 1
  • 10
  • 24
0
votes
2 answers

How to upload images from local path to S3

I am developing a React Native application and trying to upload an image stored on the device to S3. I know the path to the image but when I try to upload the image, S3 returns an unsupported file error or uploads the file with its name but the file…
0
votes
1 answer

Cannot read property '_text' of undefined

I am just trying to link react-native-fetch-blob library but it is giving error react-native link react-native-fetch-blob And error shows Scanning folders for symlinks in ...\node_modules (48ms) rnpm-install ERR! ERRPACKAGEJSON No package found.…
Ravi
  • 34,851
  • 21
  • 122
  • 183
0
votes
1 answer

react native upload video with fetch blob and image picker

get path video file with react native image picker: {path: "/storage/emulated/0/DCIM/Camera/VID_20171123_122202.mp4", uri: "content://media/external/video/media/50"} send file with react native fetch blob with wrap: let…
1 2 3
8
9