Skip to content

[Android] Download are cancelled with no reason #77

@DelattreAdixon

Description

@DelattreAdixon

Fork reproducing the issue :
https://github.com/DelattreAdixon/Xamarin-CrossDownloadManager
Launch the DownloadExample.Droid project, and look at the ouput. Some files are marked as 'Cancelled' :

...
[Property changed] Status -> CANCELED
content://downloads/all_downloads/3535
[Property changed] Status -> CANCELED
content://downloads/all_downloads/3535
[DownloadManager] Remove -> New items: 0 at -1 || Old items: 1 at -1
[Property changed] Status -> CANCELED
content://downloads/all_downloads/3536
[Property changed] Status -> CANCELED
content://downloads/all_downloads/3536
...

Looking at the Xamarin

Steps to reproduce

  1. Add several files in the download queue (more than 30 files), and start them

  2. Some files are not downloaded. When checking the status for each download, we see that some files have been cancelled (though not cancelled intentionally), with no explicit reason.

Expected behavior

All files in the download queue should be downloaded

Actual behavior

Some download are canceled

Configuration

Platform:

  • iOS
  • Android
  • UWP
  • Other

Device:

  • Simulator
  • Real device (please specify)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions