readium / r2-lcp-kotlin Goto Github PK
View Code? Open in Web Editor NEWLicense: BSD 3-Clause "New" or "Revised" License
License: BSD 3-Clause "New" or "Revised" License
I am using readium in Android but getting same below errorL
Failed to resolve: readium:liblcp:1.0.0
Show in Project Structure dialog
Affected Modules: r2-lcp
even i have added
maven { url 'https://jitpack.io' }
Hi there,
can you please check, all built versions are built with errors and gradle cannot download from jitpack: https://jitpack.io/#readium/r2-lcp-kotlin
We need a way to report the download progress of a protected publication to reading apps, because for large publications (e.g. audiobooks), it can take a long time.
In Swift it's implemented by returning an observable progress, but there might be a more idiomatic way to handle that in Kotlin. Maybe LiveData<Double>?
The function areRightsValid() throws an exception when the current date is in the loan date range instead of allowing the user to import/open the book
We're facing an issue while trying to use the classes from org.readium.r2.lcp.public
(imported as a submodule). The build is failing with this error:
e: java.lang.IllegalStateException: failed to analyze: java.lang.IllegalStateException: processingEnv must not be null
https://stackoverflow.com/a/59530688
If we rename the public
package in r2-lcp-kotlin
, the error disappears.
The weird thing is that this problem doesn't occur in r2-testapp-kotlin
. Do you have any insights into why @aferditamuriqi?
Regardless of this build error, I think the classes in public
should be moved to the top-level package anyway.
Although it is stated as "active" on the frontend.
The function statusDocument() in LcpHttpService isn't able to fetch the status of the license and thus return a null value
Hi!
I noticed that the a publication is saved in the external storage in fetchPublication
( r2-lcp/src/main/java/org/readium/r2/lcp/license/License.kt
). My thought is that internal storage is better because then the files are removed when the app is uninstalled. What are the benefits of storing publications on external storage?
Would it be possible to set the rootDir in the constructor, or should i just move the publication from external to internal after it is fetched?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.