diff --git a/core/native-bridge.ts b/core/native-bridge.ts index 4095f35e5..260ce483b 100644 --- a/core/native-bridge.ts +++ b/core/native-bridge.ts @@ -813,6 +813,7 @@ const initBridge = (w: any): void => { return xhr; } as unknown as PatchedXMLHttpRequestConstructor; + window.XMLHttpRequest.prototype = win.CapacitorWebXMLHttpRequest.prototype; Object.assign(window.XMLHttpRequest, win.CapacitorWebXMLHttpRequest.fullObject); } }