swift-toolkit
swift-toolkit copied to clipboard
No user feedback when an EPUB publication is opened with the navigator without adding it to the publication server first
I tried to port EPUBViewController from this example app. Everything seems to work, but EPUB's content not loading in my app. There is only an activity indicator from r2-navigator's EPUBSpreadView.
No errors in the console. I don’t have an idea what could be the problem.
Sorry, I missed the part with adding a Publication to the server.
I'm reopening this issue, it would be useful to have better feedback when something like that is not setup properly
I used EPUB reader implementation from this example app. While copying code, I missed this part https://github.com/readium/r2-testapp-swift/blob/develop/r2-testapp-swift/Library/LibraryViewController.swift#L352, which was needed for accessing publication resources via a local server.
I read this in r2-streamer readme https://github.com/readium/r2-streamer-swift#adding-publications-to-the-server. I was sure that I did it until I created this issue and checked my code for calling this method.
Thanks for the details 👍