canvas
canvas copied to clipboard
XMLHttpRequest break NS default functionality
NativeScript Core already contains a polyfill for XMLHttpRequest here: https://github.com/NativeScript/NativeScript/blob/main/packages/core/xhr/index.ts
Canvas-polyfill uses its own polyfill: https://github.com/NativeScript/canvas/blob/master/packages/canvas-polyfill/async/xhr/TNSXMLHttpRequest.ts
This breaks functionality for libraries that use default NS polyfill (e.g. axios).
There are somethings I need to add back into core to ensure the 3rd party libs used with canvas remain functional , that’s the only reason it exists
Time to to move the extra features into core