diff --git a/src/background-http.android.ts b/src/background-http.android.ts index 04e421a..a21dc8c 100644 --- a/src/background-http.android.ts +++ b/src/background-http.android.ts @@ -74,7 +74,8 @@ function onProgressReceiverCompleted(context: Context, uploadInfo: UploadInfo, r task.notify({ eventName: "complete", object: task, - responseCode: response && typeof response.getHttpCode === 'function' ? response.getHttpCode() : -1 + responseCode: response && typeof response.getHttpCode === 'function' ? response.getHttpCode() : -1, + response }); }