From e0da4f21338440f9a71e0ffc9a01f93ac96ac091 Mon Sep 17 00:00:00 2001 From: Daniel Sogl Date: Mon, 27 Jul 2026 22:19:24 +0200 Subject: [PATCH] feat(background-upload): add uploadDuration and finishUploadTime to UploadEvent --- src/@awesome-cordova-plugins/plugins/background-upload/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/@awesome-cordova-plugins/plugins/background-upload/index.ts b/src/@awesome-cordova-plugins/plugins/background-upload/index.ts index 3ca6bba40..4420f5f5a 100644 --- a/src/@awesome-cordova-plugins/plugins/background-upload/index.ts +++ b/src/@awesome-cordova-plugins/plugins/background-upload/index.ts @@ -21,6 +21,8 @@ export interface UploadEvent { errorCode?: number; // error code for any exception encountered progress?: any; // progress for ongoing upload eventId?: string; // id of the event + uploadDuration?: number; // duration of the upload in milliseconds (UPLOADED state only) + finishUploadTime?: number; // timestamp (ms) at which the upload finished (UPLOADED state only) } export interface FTMPayloadOptions {