-
Notifications
You must be signed in to change notification settings - Fork 1.6k
window.XMLHttpRequest Blocking firebase calls #634
Comments
I am having the exact same problem as described above when using this package within React Native. The required code NOTE: upon further testing: this error only arises for me in the Cloud Firestore database (beta), it does not arise in the Firebase Realtime Database. It is working there. |
I am uploading to my node js app and from there connecting to firebase for uploading and saving the images in any size/blob....working 100% |
I'm having the exact same problem-- did anyone figure out how to resolve this? |
@terranball if this helps at all, what I did was the following (again, my issue was making a call specifically from my React Native app to Firebase Cloud Firestore): As you see, it's a little hacky, but is currently working well for me. I set the
|
Could this be re-opened? It is causing problems with Firebase's SDK for Google Cloud Firestore as well. It would be really nice if the polyfill could be fixed to be fully compatible or else better scope its usage so that it doesn't affect other libraries. |
Hi, I'm new to react-native. Im also getting the same issue when I wanna upload an image to firebase. Can I know where is the "window" variable is declared? and what is it? |
Hi I am using:
"react": "16.0.0", "react-native": "0.51.0", "react-native-fetch-blob": "^0.10.8",
when i am using "window.XMLHttpRequest" i can upload my image to firebase bat canot write to firebas no more, whan i remove this i can write bat not upload the image.
my code is heare https://stackoverflow.com/questions/48215067/react-native-fetch-blob-is-blocking-firebase-calls-n-react-native-app
i dont know how to clear the window.XMLHttpRequest declaration on react native or reset it so the app can reach other calls.
please help
The text was updated successfully, but these errors were encountered: