Skip to content

Conversation

@OS-pedrogustavobilro
Copy link
Contributor

@OS-pedrogustavobilro OS-pedrogustavobilro commented Dec 30, 2025

Addresses #32

In truth, this Plugin's API could have a number instead of string for UploadFileResult#responseCode, as we have for FileTransferError#httpStatus, but changing this now would be a breaking change, so this PR limits itself to just fixing iOS.

@OS-pedrogustavobilro OS-pedrogustavobilro merged commit 4c63c2a into main Jan 2, 2026
8 checks passed
@OS-pedrogustavobilro OS-pedrogustavobilro deleted the fix/response-code-ios branch January 2, 2026 14:55
capacitor-bot pushed a commit that referenced this pull request Jan 2, 2026
## [2.0.2](v2.0.1...v2.0.2) (2026-01-02)

### Bug Fixes

* **android:** Correctly returning headers for upload ([#46](#46)) ([1242b3b](1242b3b))
* **ios:** Send upload response code as string instead of number ([#49](#49)) ([4c63c2a](4c63c2a))
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.

UploadFileResult.responseCode is number on iOS instead of documented string

3 participants