Questions tagged [react-native-fetch-blob]

A data transfer library for React Native.

Repository

128 questions
0
votes
1 answer

How can i access icloud drive files in simulator with react-native-fetch-blob

i have tried using react-native-fs to do the same but was suggested that we cant access icloud with -fs. Please, if i can with react-native-fetch-blob, then i need some suggestions of how do i implement it.
HSBP
  • 735
  • 2
  • 8
  • 22
0
votes
1 answer

failed to execute 'readAsText' on 'FileReader' :parameter 1 is not of type 'Blob'

I got the errors failed to execute 'readAsText' on 'FileReader': parameter 1 is not of type' Blob'.My library is 0.10.8 version. I have tried to downgrade react native fetch blob to 0.9.5 but i got another error. listeners is not defined i have…
0
votes
1 answer

React Native Fetch Blob multipart data image upload not putting any data in the request

I am trying to work out how to upload multiple images with RNFetchBlob. I'm using a base64 encoded version of an image as a test. Here's my request: const base64ImageData =…
0
votes
1 answer

How to add Checkbox List from GET api React-Native-Fetch-Blob?

i want to add checkbox list data from GET API React-Native-Fetch-Blob. have any solution? this is my code checkbox class....{ constructor(props) { super(props); this.state = { name: false, }; } render(){ return(
Quinn
  • 697
  • 1
  • 10
  • 25
0
votes
1 answer

_reactNativeFetchBlob2.default.writeFile is not a function

TypeError: _reactNativeFetchBlob2.default.writeFile is not a function import RNFetchBlob from 'react-native-fetch-blob'; RNFetchBlob.writeFile(path, data, 'utf8') .then((success) => { console.log(success); …
user5699596
  • 95
  • 1
  • 5
0
votes
1 answer

What is the correct rule in firebase that allows any user to save an image and any authenticated user read others users avatars?

I am using react-native with react-native-fetch-blob and its pollyfills to upload an image to firebase storage. I could not follow the docs and after many tries I decided to ask how can set the proper firebase storage rule to avoid this…
-1
votes
2 answers

Image is not showing in the iOS device after getting downloaded through rn-fetch-blob ( React native fetch blob)

I am trying to download a small image using this particular code snippet : Plug in Used : "rn-fetch-blob": "^0.10.14" RNFetchBlob. config({ fileCache: true, }). fetch('GET', url, { //getting image URL from server // some headers…
-1
votes
1 answer

Select document file from phone and upload to server

I am trying to get a document file from phone storage when button is pressed and than upload it server. But i don't know which library to use and how to do it.
1 2 3
8
9