-
-
Notifications
You must be signed in to change notification settings - Fork 70
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
Add Live Activities for Download % and/or speed (MB/s) #1037
Comments
@rgaudin @BPerlakiH Clear for you what is requested? |
It's a sort of system notification that stays active for live activities so the user can peak at progress without re-entering the app. It's common for sports app for instance. |
Yes it is clear for me, we are talking about this Apple feature: https://developer.apple.com/design/human-interface-guidelines/live-activities |
Announce: If you think this wiuld be a nice improvement, please vote. |
The idea of implement Activities for downloads is validated |
@kelson42 @BPerlakiH Any updates on this? |
@plyght The idea is validated, you want to implement it? |
@kelson42 Do you mean coding the implementation myself or overseeing the feature’s development? |
@plyght Yes, I mean you making a PR to implement the feature. |
Fixes kiwix#1037 Add Live Activities support for displaying download progress on the lock screen and in the Dynamic Island. * Import `ActivityKit` and create a new `DownloadActivityAttributes` struct in `App/App_iOS.swift`. * Update `Model/DownloadService.swift` to manage Live Activities during download progress changes. * Modify `Views/BuildingBlocks/DownloadTaskCell.swift` to include Live Activities updates. * Update `Views/Library/ZimFileDetail.swift` to handle Live Activities for download details. * Add Live Activities updates in `Views/Library/ZimFilesDownloads.swift`. * Add a new setting to enable or disable Live Activities in `Views/Settings/Settings.swift`. * Handle alerts for Live Activities in `Views/ViewModifiers/AlertHandler.swift`. * Add `Model/DownloadActivityAttributes.swift` to define the attributes for Live Activities. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/kiwix/kiwix-apple/issues/1037?shareId=XXXX-XXXX-XXXX-XXXX).
Exactly what the title says; Add live activities support for iOS to display download progress (speed and percentage completed) on the lock screen and in the Dynamic Island. This would provide real-time updates without needing to open the app.
The text was updated successfully, but these errors were encountered: