Comments (4)
@kelson42
For now, this is the only way to see the progress of the download:
When you want to download a large zim file, it's annoying to have to repeat this process of checking progress several times.
Once we add the Dynamic island and Live Activities support, we can show this progress outside the app, so users don't need to open the app and check the progress of the download anymore.
like this:
from apple.
@FledgeXu This is a technical, solution driven, description, please explain:
- what is the problem
- how should it looks like, once implwmented
from apple.
This is a cool idea, I was looking into the same thing earlier, and I bet it would be very fun to use if I can get it working. However this is not currently possible within current constraint of Live Activities.
From Apple's developer documentation site [link]:
Each Live Activity runs in its own sandbox, and β unlike a widget β it canβt access the network or receive location updates. To update the dynamic data of an active Live Activity, use the ActivityKit framework in your app or allow your Live Activities to receive ActivityKit push notifications as described in Updating and ending your Live Activity with ActivityKit push notifications.
Live activities cannot access network (which means I cannot query the network interface for download task progress), can be updated only via server side push notification (which does not make sense for action happening on device), or via ActivityKit
(which means the app has to be running)
It seems like "timer" live activities can update every second, but file download progress cannot be simply implemented as a timer.
We'll have to see if this change in WWDC 23 / iOS 17, but sorry there isn't anything I can do right now
from apple.
I am moving this to Discussion -> Idea, because this is an interesting idea, but nothing to be done right now
from apple.
Related Issues (20)
- No search result when the key word more than 1 byte with Chinese zim files HOT 6
- Double-clicking on a ZIM in finder opens a new Kiwix window HOT 4
- Crash 3.4.0 - Kiwix: OPDSParser.parse(data:) +36 HOT 2
- Crash 3.4.0 - Kiwix: u_setDataDirectory_73 + 48
- Crash 3.4.0 - libxml2.2.dylib: xmlMallocZero +48 HOT 4
- Crash 3.4.0 - Levenshtein.calculate(_:_:) +72
- Crash 3.4.0 - Kiwix: u_setDataDirectory_73 + 112 HOT 1
- Crash 3.4.0 - SwiftUI: specialized _ArrayBuffer._consumeAndCreateNew(bufferIsUnique:minimumCapacity... HOT 1
- Crash 3.4.0 -[UIPopoverPresentationController presentationTransactionWillBegin] + 2672
- Add support for multiple reader windows HOT 1
- Moving Zim Files from Download folder to another Drive/Folder HOT 3
- Library loading is blocking the main thread HOT 1
- Resolve Swift Package Dependencies Automatically
- Remove BackPorts dependency
- No book found line for "lowtech"
- "Search Snippet" setting is outdated
- OPDSParse with invalid data HOT 2
- Crash 3.4.0: DataBase.mergeChanges()
- Running kiwix on older ios versions HOT 1
- Debug flag shows: Database concurrency issues
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apple.