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

download process start so late on Android 14 #688

Open
kose-cansu opened this issue Aug 23, 2024 · 11 comments
Open

download process start so late on Android 14 #688

kose-cansu opened this issue Aug 23, 2024 · 11 comments

Comments

@kose-cansu
Copy link

Why does the download process start so late on Android 14 devices?

@bmodi2
Copy link

bmodi2 commented Aug 29, 2024

Noticed a similar issue. The root cause for me was identified to be ACTION_QUEUE_BACKOFF_RESET broadcast was failing on Android 14, because the intent used was not package protected.

@kose-cansu
Copy link
Author

So how did you solve this problem?

@bmodi2
Copy link

bmodi2 commented Aug 29, 2024

The latest version on the library 3.2.0, should have the fix below for Android 14.

@kose-cansu
Copy link
Author

Since version 3.2.0 is not shared in Maven, I added the aar files to my project. But the download continues to start late in Android 14. The setpackage code you specified is also available in the version I am using.

@tonyofrancis
Copy link
Owner

Fetch 3.3.0 has been released. See Release Notes

@kose-cansu
Copy link
Author

Unfortunately, I continue to experience the problem in version 3.3.0. @tonyofrancis

@iwenchao
Copy link

Unfortunately, I continue to experience the problem in version 3.3.0 @tonyofrancis

@ln-12
Copy link

ln-12 commented Oct 15, 2024

The issue is also present on Android 15 running version 3.3.0 of this library

@SumitProgrammer5955
Copy link

Problem solved simply do below things @kose-cansu @iwenchao

Step 1 : import whole project in your project
Step 2 : In helper package of fetch2 module in PriorityListProcessorImpl class update sendBackOffResetSignal() method and add intent.setPackage(context.packageName) and you are done

johnmaguire added a commit to johnmaguire/Fetch-old that referenced this issue Oct 29, 2024
@tonyofrancis
Copy link
Owner

Currently working on integrating the fix @SumitProgrammer5955 suggested. Will update here when the new version is released

@tonyofrancis
Copy link
Owner

New version 3.4.0 has been released that contains fixes for this issue.

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

No branches or pull requests

6 participants