Skip to content

fix(ios): Send upload response code as string instead of number#49

Merged
OS-pedrogustavobilro merged 1 commit into
mainfrom
fix/response-code-ios
Jan 2, 2026
Merged

fix(ios): Send upload response code as string instead of number#49
OS-pedrogustavobilro merged 1 commit into
mainfrom
fix/response-code-ios

Conversation

@OS-pedrogustavobilro

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

Copy link
Copy Markdown
Contributor

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))
capacitor-bot pushed a commit that referenced this pull request Feb 11, 2026
## [1.0.10](v1.0.9...v1.0.10) (2026-02-11)

### Bug Fixes

* Align HTTP error message ([#55](#55)) ([d50c7d6](d50c7d6))
* **android:** Correctly returning headers for upload ([#46](#46)) ([93eab42](93eab42))
* **ios:** http body in error and send progress only when success ([#59](#59)) ([d0e43cc](d0e43cc))
* **ios:** Send upload response code as string instead of number ([#49](#49)) ([ba0c1d2](ba0c1d2))
* **web:** Check the existence of the folder before mkdir. ([#33](#33)) ([58ea4b6](58ea4b6))
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

2 participants