Readium LCP Client Module v11
Readium LCP Client Module v11
Dear partner,
You’ve contacted us to get the LCP client library, to be integrated into your mobile application (usually
based on Readium Mobile Swift or Kotlin).
Test libs
In order to include content protection features in an app based on Readium Mobile, you should read
https://readium.org/architecture/proposals/006-content-protection.html and take advantage of the
codebase of the test application provided with the project.
The test-version of the LCP libs are kept online and can be easily integrated into a Carthage, Cocoapods
or Gradle project by following the instructions below.
iOS
For use with the Readium Mobile Swift toolkit, EDRLab has developed the “Swift LCP” module, which is
easily integrated into the Readium Swift Testapp.
If you’re using Carthage (this is the preferred solution), please add the following to the Cartfile of the
Swift LCP module as well as to your projects Cartfile:
binary "https://liblcp.dita.digital/readium/liblcp/ios/carthage/test/liblcp.json" ~>
3.0.0
If you’re using Cocoapods, please ask us the creation of a pod, then add the following to your podfile:
pod 'R2LCPClient',
podspec:'https://liblcp.dita.digital/readium/liblcp/ios/cocoapod/test/latest.podspec '
Android
For use with the Readium Mobile Android toolkit, EDRLab has developed the “Kotlin LCP” module, which
is easily integrated in the Readium Kotlin Testapp.
Please use the latest version of Gradle and add the following to your project build.gradle file:
repositories {
ivy {
url = uri("https://liblcp.dita.digital")
patternLayout {
artifact ("/[organisation]/[module]/android/aar/test/[revision].[ext]")
metadataSources { artifact() }
dependencies {
implementation "readium:liblcp:1.0.0@aar"
Note 1: the value of the “artifact” property must not be edited (“[organisation]” and other values are
not templates), this is a generic value used by every test application.
Note 2: the use of a 1.0.0 version on Android and 3.0.0 on iOS are perfectly normal.
Best regards,
Laurent Le Meur
CTO, EDRLab