Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corrigindo bug #1217 #1

Open
wants to merge 93 commits into
base: feature/multiple_downloads
Choose a base branch
from

Conversation

nferreira
Copy link

Para corrigir o bug #1217 (OneApp), o taskId retornado na task não pode ser somente o id.
Eu acho que o criador do plugin fez um pequeno erro quando estava pegando o taskId. Esse change corrige esse erro.

781flyingdutchman and others added 30 commits February 22, 2020 15:46
Used () where I should have used [] to get time_created from the [item] map
Added timeCreated to the DownloadTask class
Issue: if loadTaskWithId pulls the task from the database (not the
cache) and if that task is enqueued or running, then
getTaskWithCompletionHandler may not have that task as part of its list
of downloadTasks (because it may have been started a long time ago
and gotten lost as the app was killed).
In that case, the taskId will not be found in the list, and therefore
the task will not be removed from the database.  As a result, the\
sqlite database can get polluted with tasks that cannot be removed
ever.

Fix: call [self deleteTask:taskId] unconditionally after the
if-statement (that checks for enqueue or running) instead of only
in the 'else' clause of that if-statement
To support use from isolation, do not use singleton. (iOS)
lalbuquerque and others added 30 commits October 5, 2020 20:32
…_store

Save music album and artist on MediaStore
…a_store

Insert artist name on column MediaStore.Audio.Media.ALBUM_ARTIST too
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants