ionic-team / capacitor

Build cross-platform Native Progressive Web Apps for iOS, Android, and the Web ⚡️
https://capacitorjs.com
MIT License
11.24k stars 955 forks source link

[Feature]: Add progress event emission on native side #7448

Open GimpMaster opened 2 weeks ago

GimpMaster commented 2 weeks ago

Description

Capacitor Native Bridge is missing progress events

Platforms

Request or proposed solution

When looking at Capacitor Http plugin for XHR.send() there is a comment saying

//TODO: Add progress event emission on native side

I didn't see any open issues to actually do this. It would be great to get progress events for uploading large files.

Here is the link to the line of code: https://github.com/ionic-team/capacitor/blob/main/core/native-bridge.ts#L789

Alternatives

No response

Additional Information

No response

ionitron-bot[bot] commented 1 week ago

This issue needs more information before it can be addressed. In particular, the reporter needs to provide a minimal sample app that demonstrates the issue. If no sample app is provided within 15 days, the issue will be closed. Please see the Contributing Guide for how to create a Sample App. Thanks! Ionitron 💙