[ 
https://issues.apache.org/jira/browse/CB-7032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14047170#comment-14047170
 ] 

Pang Min Fu commented on CB-7032:
---------------------------------

facing exactly the same problem on cordova 3.5 file transfer plugin version 
0.4.4(Android)

in my case, i can upload the file to the server, but the success function 
callback never fire until i put the device "onpause" state by pressing device 
power button, after that resume the device. Now only the success callback is 
called.

Any quick solution for this?


> File Transfer upload fails to fire success function on Android
> --------------------------------------------------------------
>
>                 Key: CB-7032
>                 URL: https://issues.apache.org/jira/browse/CB-7032
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File Transfer
>    Affects Versions: 3.5.0
>         Environment: Used version 0.4.3 and 0.4.4 of the File Transfer 
> plugin. Tested on Android
>            Reporter: Kuan Yi Ming
>
> The upload function fails to trigger the success function despite it 
> successfully uploading the file to the server. The debug logs indicate that 
> the native code in FileTransfer.java has executed successfully though, as the 
> debug logs prints the response code and headers, in addition to these lines:
> {code:Title=FileTransfer.java}
> Log.d(LOG_TAG, "got response from server");
> Log.d(LOG_TAG, responseString.substring(0, Math.min(256, 
> responseString.length())));
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to