- rn-fetch-blob: 0.10.15
react-native: 0.59.6
react: 16.6.3
Sample Code:
I am uploading file to firebase using this code
const Blob = RNFetchBlob.polyfill.Blob;
const fs = RNFetchBlob.fs
const originalXMLHttpRequest = window.XMLHttpRequest;
const originalBlob = window.Blob;
After doing my successful upload with rn-fetch-blob library on firebase, I assign back default value to window.Blob and window.XMLHttpRequest.
window.XMLHttpRequest = originalXMLHttpRequest
window.Blob = originalBlob;
This part was working perfectly fine before react-native update.
After update react-native (v0.57.8 to v0.59.6) , when I use window.fetch after upload , it is giving me error "Unable to resolve data for blob: (null)"
Any solution for this