mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-03 10:46:53 -04:00
Fixed: Online library cannot be retrieved in the Play Store variant.
* The issue arose after upgrading the Gradle version of our project (which introduced Android 14). The new Gradle version includes an updated minify tool that excludes SimpleXML attributes from the code. As a result, this error occurred. To resolve this, we added specific rules to the ProGuard file to ensure these attributes are retained in the release variant.
This commit is contained in:
parent
e3844e5e28
commit
fe2f4a376d
11
app/proguard-rules.pro
vendored
11
app/proguard-rules.pro
vendored
@ -48,11 +48,20 @@
|
||||
|
||||
## keep everything in MetaLinkNetworkEntity.kt
|
||||
|
||||
-keep class org.kiwix.kiwixmobile.core.entity.MetaLinkNetworkEntity { *; }
|
||||
-keep class org.kiwix.kiwixmobile.core.entity.MetaLinkNetworkEntity$* { *; }
|
||||
-keepnames class org.kiwix.kiwixmobile.core.entity.MetaLinkNetworkEntity$*
|
||||
-keepclassmembers class org.kiwix.kiwixmobile.core.entity.MetaLinkNetworkEntity$* {
|
||||
<init>(...);
|
||||
}
|
||||
|
||||
## keep everything in LibraryNetworkEntity.kt
|
||||
-keep class org.kiwix.kiwixmobile.core.entity.LibraryNetworkEntity { *; }
|
||||
-keep class org.kiwix.kiwixmobile.core.entity.LibraryNetworkEntity$* { *; }
|
||||
-keepclassmembers class org.kiwix.kiwixmobile.core.entity.LibraryNetworkEntity$* {
|
||||
<init>(...);
|
||||
}
|
||||
|
||||
-keep class javax.xml.stream.** { *; }
|
||||
-dontwarn javax.xml.stream.Location
|
||||
-dontwarn javax.xml.stream.XMLEventReader
|
||||
@ -82,3 +91,5 @@
|
||||
-dontwarn org.openjsse.javax.net.ssl.SSLParameters
|
||||
-dontwarn org.openjsse.javax.net.ssl.SSLSocket
|
||||
-dontwarn org.openjsse.net.ssl.OpenJSSE
|
||||
|
||||
-keep class io.reactivex.** { *; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user