You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Ian Darling (JIRA)" <ji...@apache.org> on 2013/10/23 13:27:41 UTC

[jira] [Commented] (CB-4796) FileTransfer Upload Progress does not work

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

Ian Darling commented on CB-4796:
---------------------------------

I've had a similar issue with my own "long running" plugin.  I've posted on the google group, but it boils down to callbacks not being handled properly when you use cordova.getThreadPool() and then use the callbackContext within the Runnable you create for it.

This is frustrating, because the documentation suggests the approach above for long running calls, and to look at other plugins for details, and FileTransfer was the one I was looking at for comparison.

> FileTransfer Upload Progress does not work
> ------------------------------------------
>
>                 Key: CB-4796
>                 URL: https://issues.apache.org/jira/browse/CB-4796
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 3.0.0
>            Reporter: Christoph Pojer
>            Assignee: Joe Bowser
>
> File Transfer Upload progress has stopped working as of version 3.0.0. I suspect it has something to do with sending the JS from a different Thread as we are also experiencing issues with the DOM not redrawing (although updating just fine) with our custom media plugin (we send JS from a different thread, see: https://github.com/auphonic/cordova-plugin-media/blob/master/src/android/AudioPlayer.java#L125 ).
> Please let me know if these are two separate issues and if I should create a separate issue for both but I strongly suspect that this has something to do with each other..



--
This message was sent by Atlassian JIRA
(v6.1#6144)