Skip to content

Downloading favicon for book is not working for Apple (iOS/macOS) #1180

@BPerlakiH

Description

@BPerlakiH

On Kiwix Apple, we are using the libkiwix function to get the image data for the books, like so:

https://github.com/kiwix/kiwix-apple/blob/820869b2d9ddc40f88b6ed1f9f4a0bd3f0de128a/Model/Entities/ZimFileMetaData/ZimFileMetaData.mm#L159-L170

Unfortunately for all books, this function comes back with an error, and no data is returned.
We fall into the catch block here:

std::cerr << "Cannot download favicon from " << url;

I am not sure if it's Apple only specific, but it's consistently failing for every book, that we just fetched from the catalog.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions