We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
With minification and Proguard enabled, LCP licenses validation doesn't work anymore.
fun findOneValidPassphrase(jsonLicense: String, hashedPassphrases: List<String>): String = try { klass .getMethod("findOneValidPassphrase", String::class.java, Array<String>::class.java) .invoke(instance, jsonLicense, hashedPassphrases.toTypedArray()) as String } catch (e: InvocationTargetException) { throw mapException(e.targetException) }
As the name of the function is changed by Proguard, findOneValidPassphrase (in LcpClient.kt:67) breaks and throws an exception.
findOneValidPassphrase
It seems that adding the following exceptions in Proguard rules restores the functionality:
-keep class org.readium.lcp.sdk.* { *; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
With minification and Proguard enabled, LCP licenses validation doesn't work anymore.
As the name of the function is changed by Proguard,
findOneValidPassphrase
(in LcpClient.kt:67) breaks and throws an exception.It seems that adding the following exceptions in Proguard rules restores the functionality:
The text was updated successfully, but these errors were encountered: