joltup / rn-fetch-blob

A project committed to making file access and data transfer easier, efficient for React Native developers.
MIT License
2.8k stars 767 forks source link

XMLHttpRequest lacks event details #839

Open Sid-Turner-Ellis opened 1 year ago

Sid-Turner-Ellis commented 1 year ago

Hello,

I have been trying to get this package working with uppy's multipart upload plugin and haven't had any luck. The issue was this packages XMLHttpRequest polyfill not lining up with the browsers.

You can see that the EventTarget file that there isn't much going on - I ended up removing this file and using the 'event-target-shim' package which worked much better in the same way that React Natives XMLHttpRequest polyfill does it.

Is there any reason this isn't being used? I would imagine this would break for most people using it