Mickaël Menu
Mickaël Menu
Good to know, thanks!
Readium Swift doesn't support password-protected PDF yet. But if it's a pressing issue for you, we will welcome a contribution! I think it's a matter of passing down the password...
I believe the reason is that we need to use `startForegroundService` instead of `startService` here, https://github.com/readium/kotlin-toolkit/blob/adeb8f452fbd48b6ab7e1132264bcce9ab64ee95/readium/navigator/src/main/java/org/readium/r2/navigator/media/MediaService.kt#L304 Using this workaround: ```kotlin fun Context.startForegroundServiceCompat(intent: Intent) { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { startForegroundService(intent)...
@mrifni Try this PR, or branch `fix/media-service`: https://github.com/readium/kotlin-toolkit/pull/95
Maybe try applying the same fix here as well? https://github.com/readium/kotlin-toolkit/blob/540c80fc1c57f04d09db45764f103724177aedf9/test-app/src/main/java/org/readium/r2/testapp/Application.kt#L85 But [I'm not 100% sure it's correct](https://github.com/readium/kotlin-toolkit/pull/95#issuecomment-1081837217). Alternatively, if you don't use the media2 audiobook navigator, you can just remove...
@jspizziri Thanks for spotting this. However the right GCDWebServer lib to use is our fork at https://github.com/readium/GCDWebServer, whose latest version is 3.7.1. The Podspec doesn't seem to be correct as...
Yes, makes sense. Let's put your PR on hold for now.
Closing for now, see https://github.com/readium/swift-toolkit/issues/38 for the full context. We can reconsider if there's really no way to make it work without publishing it to CocoaPods.
After a second look, the issue remains to be fixed even if we don't publish the podspecs officially.
It's a workaround until a proper fix, but you should add this to your app's `Podfile` to be able to use Readium's podspecs: ``` pod 'GCDWebServer', podspec: 'https://raw.githubusercontent.com/readium/GCDWebServer/3.6.3/GCDWebServer.podspec' ``` I...