fix(ios): http body in error and send progress only when success#59
Merged
Conversation
Via native library update: References: - ionic-team/ion-ios-filetransfer#13 - https://outsystemsrd.atlassian.net/browse/RMET-4893
andredestro
approved these changes
Feb 4, 2026
capacitor-bot
pushed a commit
that referenced
this pull request
Feb 10, 2026
## [2.0.4](v2.0.3...v2.0.4) (2026-02-10) ### Bug Fixes * Align HTTP error message ([#55](#55)) ([a1702d0](a1702d0)) * **android:** AGP 9.0 no longer supporting `proguard-android.txt` ([#57](#57)) ([2eea2f7](2eea2f7)) * **ios:** http body in error and send progress only when success ([#59](#59)) ([da7a5fd](da7a5fd)) * **web:** Check the existence of the folder before mkdir. ([#33](#33)) ([0f0658f](0f0658f))
OS-pedrogustavobilro
added a commit
that referenced
this pull request
Feb 11, 2026
Cherry-picked for Capacitor 7 * chore: Minor changes in app error display * chore: Add options in example app for http error * fix(ios): http body in error and send progress only when success Via native library update: References: - ionic-team/ion-ios-filetransfer#13 - https://outsystemsrd.atlassian.net/browse/RMET-4893
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))
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Final PR to address #18 - iOS was not returning the http body in the error object when an http error occured. Furthermore, I saw that iOS was notifying download progress when an HTTP error occurred, which is incorrect.
Both these fixes come from the iOS native library consumed by this plugin, implementation in ionic-team/ion-ios-filetransfer#13.
This PR also adds a few more options to the example app to be able to receive HTTP errors.