ionic-team / ionic-team/capacitor-file-transfer

iOS Upload Progress Events Do Not Fire

Open
#70 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
11
Forks
10
PR merge metrics
No merged PRs in 30d

Description

The event is working on Android and I get multiple progress events as the file uploads, on iOS the only event that fires is once the file is uploaded.

version 2.0.4 (tested back to v2.0.0) and tested on iOS 26 simulator & device

```
{
bytes: 21358080
contentLength: 21358080
lengthComputable: true
type: "upload"
url: "https:..."
}
```

I am using the standard request, not changing the header type etc... chunkedMode: false and progress: true

```
{
chunkedMode: false,
headers: {
Authorization: `Bearer ${token}`,
},
path: request.data,
progress: true,
url: `${HOST}${request.uploadURL}`,
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.