-
-
Notifications
You must be signed in to change notification settings - Fork 459
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
Reintroduced the Fetch Library for Downloading ZIM files. #4143
base: main
Are you sure you want to change the base?
Conversation
* Removed the DownloadManager from our project. * Refactored the code, and test cases to use the Fetch library.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4143 +/- ##
============================================
- Coverage 57.73% 56.77% -0.96%
- Complexity 1496 1516 +20
============================================
Files 313 312 -1
Lines 13324 13285 -39
Branches 1707 1644 -63
============================================
- Hits 7692 7542 -150
- Misses 4507 4612 +105
- Partials 1125 1131 +6 ☔ View full report in Codecov by Sentry. |
…ifications to open the ZIM file then same ZIM file is opening for both notifications.
* Introduced the DownloadMonitorService to keep alive the fetch instance so that the downloading works in the background as well as on app kill.
@MohitMaliFtechiz Let me know when this is ready to merge Would be great to confirm also that scenarios fixed in 2.13.0 are still fixed. |
* Upgraded Fetch to 3.4.1. * Upgraded Kotlin kotlin-stdlib from JDK7 to JDK8. * Upgraded Kotlin version to 2.0.0 to support the latest Fetch library. * Upgraded Dagger to 2.53.1. * Upgraded ObjectBox to 4.0.3. * Notification now shows "Pause" and "Resume" buttons instead of "pause" and "resume". * Fixed: Notification buttons were not working on Android 13 and above. * Fixed: Downloading was not working in the background. Added a foreground service for Fetch so that downloading will continue in the background.
…ification while the application was not running in the background.
@kelson42 This PR is ready for review.
The previous fixes are working fine with these changes. |
@MohitMaliFtechiz This is great, will wait feedbacka from users. |
Fixes #4140
Fixes #4138
Fixes #4106
3.4.1
.kotlin-stdlib
from JDK7 to JDK8.2.0.0
to support the latest Fetch library.2.53.1
.4.0.3
.