Skip to content

Allow setting request body in file transfer download options#13

Open
Erdragh wants to merge 1 commit intoionic-team:mainfrom
Erdragh:feature/download-request-body
Open

Allow setting request body in file transfer download options#13
Erdragh wants to merge 1 commit intoionic-team:mainfrom
Erdragh:feature/download-request-body

Conversation

@Erdragh
Copy link
Copy Markdown

@Erdragh Erdragh commented Feb 9, 2026

Description

Adds the ability to pass a request body (as a ByteArray) to the download process.

The additional implementation of equals and hashCode were suggested by IntelliJ/Android Studio because of the ByteArray.

Type of changes

  • Fix (non-breaking change which fixes an issue)
  • Feature (non-breaking change which adds functionality)
  • Refactor (cosmetic changes)
  • Breaking change (change that would cause existing functionality to not work as expected)

Tests

I have tested it together with my PR to the capacitor file transfer plugin on a Samsung Galxy S22, where I download a blob from our backend which is identified via a protobuf request body.

Checklist

  • CHANGELOG.md file is correctly updated
  • Changes require an update to the documentation
    • Documentation has been updated accordingly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant