apache / apache/cordova-plugin-file-transfer

FileUploadOptions - timeout

Open
#224 1 comment 7 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
606
Forks
874
PR merge metrics
No merged PRs in 30d

Description

Hi there,

Would you guys be able to reinstate this PR below?
https://github.com/apache/cordova-plugin-file-transfer/pull/156

It'd be great if I could set the timeout for file uploads.
Perhaps an extra property to FileUploadOptions?

FileUploadOptions.timeout = (90*1000);
The timeout variable is to be specified in milliseconds.

I have an app where users might try to upload large files on the 3G/4G network.
Thank you very much in advance.

Cheers 😄 👍

Contributor guide

Open the contributing guide

Research direction

Review the previously requested PR #156 and the FileUploadOptions API mentioned in the issue. Determine how upload timeouts are handled, then verify that a timeout can be configured in milliseconds and applies to large-file uploads.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
mobile-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.