kiwix / kiwix-apple

Kiwix for offline access on iOS and macOS
https://apple.kiwix.org
GNU Lesser General Public License v3.0
432 stars 69 forks source link

iOS Library downloads hang consistently #733

Open dustinfreeman opened 2 weeks ago

dustinfreeman commented 2 weeks ago

I've had downloads hang without progress or error message hang consistently over the past week. Progress of the download proceeds normally and then stops without movement for hours.

Expected behaviour: the download completes, or gives an explicit error for why it is paused without progress.

IMG_3191

IMG_3192

Device:

I'm on the current version of the Kiwix App, as of the App Store. I am on internet at my home in NYC, and otherwise my connection works fine. I am able to download Kiwix libraries to desktop. I have tried restarting the app, my phone, restarting the download, etc.

Any debugging methods or tips welcome.

kelson42 commented 1 week ago

@BPerlakiH Is that a behaviour you can reproduce? I don‘t have enough mass storage to download such a large file myself.

BPerlakiH commented 1 week ago

As of my observation once it crosses the 1GB limit, the frequency of the progress updates are slower (since it's a larger format). The download progress was already improved, and will be included in our soon to come 3.3 Kiwix release. I did managed to get higher with the download than the 2.2GB attached, so the file itself seem to be fine. Screenshot 2024-04-23 at 23 49 46 Medium

One tip: If you already have the ZIM file downloaded on your desktop, there's no need to download it again to your phone, you can copy it over to your iPhone (my guess is that the quickest will be by using a USB cable). Once you copied it to your phone, you can open the ZIM file by tapping on it (within the "Files" app), that will automatically open the associated Kiwix app and "import" that ZIM file into the Kiwix application, and from that moment you can use it the same way.