[ 
https://issues.apache.org/jira/browse/CB-6036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jesse MacFadyen resolved CB-6036.
---------------------------------
    Resolution: Won't Fix

WP8 is deprecated, focusing on windows-uwp going forwards.

> FileTransfer multiple files doesn't work on WP8
> -----------------------------------------------
>
>                 Key: CB-6036
>                 URL: https://issues.apache.org/jira/browse/CB-6036
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: WP8 (deprecated)
>    Affects Versions: 3.3.0
>            Reporter: André van der Plas
>            Assignee: Jesse MacFadyen
>              Labels: FileTransfer, WP8
>
> I was trying to upload multiple photos on my WP8 testing device, but the 
> files weren't sent.
> It worked on my ios and android environments though. Also posting one photo 
> did work on the WP8 device.
> After debugging I found out that inside the FileTransfer plugin there was a 
> problem with the callback id's not being used correctly. The moment one 
> thread finished uploading, multiple threads started using the same callback 
> id.
> In the end I fixed this issue by adding a (probably missing parameter) inside 
> the ReadCallback method. I changed 
> DispatchCommandResult(new PluginResult(PluginResult.Status.OK, new 
> FileUploadResult(bytesSent, (long)response.StatusCode, responseString)));
> Into
> DispatchCommandResult(new PluginResult(PluginResult.Status.OK, new 
> FileUploadResult(bytesSent, (long)response.StatusCode, responseString)), 
> reqState.options.CallbackId);



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to