diff --git a/native/input/input-state-container.react.js b/native/input/input-state-container.react.js --- a/native/input/input-state-container.react.js +++ b/native/input/input-state-container.react.js @@ -1201,8 +1201,8 @@ uploadOptions, uploadProgress => { if (options && options.onProgress) { - const { totalByteSent, totalBytesExpectedToSend } = uploadProgress; - options.onProgress(totalByteSent / totalBytesExpectedToSend); + const { totalBytesSent, totalBytesExpectedToSend } = uploadProgress; + options.onProgress(totalBytesSent / totalBytesExpectedToSend); } }, ); diff --git a/native/utils/blob-service-upload.js b/native/utils/blob-service-upload.js --- a/native/utils/blob-service-upload.js +++ b/native/utils/blob-service-upload.js @@ -51,8 +51,8 @@ uploadOptions, uploadProgress => { if (options?.onProgress) { - const { totalByteSent, totalBytesExpectedToSend } = uploadProgress; - options.onProgress(totalByteSent / totalBytesExpectedToSend); + const { totalBytesSent, totalBytesExpectedToSend } = uploadProgress; + options.onProgress(totalBytesSent / totalBytesExpectedToSend); } }, );