Skip to content

2.0.2

Choose a tag to compare

@zerox80 zerox80 released this 24 Oct 08:31
· 107 commits to main since this release

fix(upload): use source file mtime for retries; avoid "null"

  • On retry, derive lastModifiedInSeconds from File.lastModified()
    (if file exists and mtime > 0), instead of transferEndTimestamp
  • Pass a nullable value to workers rather than the literal "null" string
  • Switch to WorkManager Data API (replacing workDataOf) to handle nulls
  • Ensures accurate Last-Modified metadata and more reliable conflict checks during retried uploads