diff --git a/tns-core-modules/xhr/xhr.ts b/tns-core-modules/xhr/xhr.ts index 2f03fd953..a8df0c2cf 100644 --- a/tns-core-modules/xhr/xhr.ts +++ b/tns-core-modules/xhr/xhr.ts @@ -165,7 +165,7 @@ export class XMLHttpRequest { private _listeners: Map> = new Map>(); public addEventListener(eventName: string, handler: Function) { - if (eventName !== "load" && eventName !== "error") { + if (eventName !== "load" && eventName !== "error" && eventName !== "progress") { throw new Error("Event not supported: " + eventName); }