cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pang Min Fu (JIRA)" <>
Subject [jira] [Commented] (CB-7032) File Transfer upload fails to fire success function on Android
Date Sun, 29 Jun 2014 17:09:24 GMT


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:
>             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
has executed successfully though, as the debug logs prints the response code and headers,
in addition to these lines:
> {}
> 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

View raw message