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).
Activity
triniwiz commentedon Aug 12, 2022
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
triniwiz commentedon Aug 22, 2024
Time to move the extra features into core