FileUploaderPlugin icon indicating copy to clipboard operation
FileUploaderPlugin copied to clipboard

Issue while uploading large Files Xamarin.Forms IOS

Open brijesh-tekrawala opened this issue 8 years ago • 4 comments

Hi There, i found bizarre issue with this plugin in Xamarin.forms (IOS), when i'm uploading large video file on server, this plugin recursively uploading same file, it is also not triggering FileUploadCompleted event,

The thing is here is i'm just uploading 1 file, please have a look here for console log https://www.screencast.com/t/dJvjeOy11X

How to reproduce steps:

  1. select video file File size : 283MB , duration : 00:02:38
  2. This is my code snippt var response = await CrossFileUploader.Current.UploadFileAsync(url, new FilePathItem("videofile", videoPath), headers);

i'm having trouble for a while, i'll wait for your positive reply,

brijesh-tekrawala avatar Mar 17 '18 10:03 brijesh-tekrawala

I am having the same issue, while uploading large file its again starting from 0% after reaching to 100%.

Can anyone have the solution?

jigneshk avatar Mar 20 '18 07:03 jigneshk

I'm also having the same issue on iOS, Android seems to work fine.

Any advice on this?

izaakski avatar Mar 29 '18 10:03 izaakski

@izaakski we have done some workaround by moving library code to native wrapper, mainly we have increased HTTP request timeout and it started working properly.

jigneshk avatar Mar 31 '18 11:03 jigneshk

@jigneshk Would you mind creating a PR with your fix? would be highly appreciated :)

rdelrosario avatar Apr 02 '18 13:04 rdelrosario