Skip to content

Commit

Permalink
vod chat downloads
Browse files Browse the repository at this point in the history
(cherry picked from commit 1d02f1d)
  • Loading branch information
crackededed committed May 25, 2024
1 parent b8b78e0 commit 622060f
Show file tree
Hide file tree
Showing 84 changed files with 3,013 additions and 956 deletions.
17 changes: 8 additions & 9 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ android {
applicationId = "com.github.andreyasadchy.xtra"
minSdk = 21
targetSdk = 34
versionCode = 238
versionName = "2.31.3"
versionCode = 239
versionName = "2.32.0"
resourceConfigurations += listOf("ar", "de", "en", "es", "fr", "in", "it", "ja", "pt-rBR", "ru", "tr", "zh-rTW", "zh-rCN")
}

Expand Down Expand Up @@ -66,20 +66,19 @@ dependencies {
implementation(libs.draglistview)

//Architecture components
implementation(libs.paging.runtime.ktx)
implementation(libs.lifecycle.viewmodel.ktx)
implementation(libs.lifecycle.livedata.ktx)
implementation(libs.lifecycle.common.java8)
implementation(libs.paging.runtime)
implementation(libs.lifecycle.viewmodel)
implementation(libs.lifecycle.livedata)
implementation(libs.lifecycle.process)
implementation(libs.room.runtime)
implementation(libs.room.ktx)
implementation(libs.room.paging)
ksp(libs.room.compiler)
implementation(libs.room.paging)
implementation(libs.work.runtime)
implementation(libs.core.ktx)
implementation(libs.fragment.ktx)
implementation(libs.navigation.fragment.ktx)
implementation(libs.navigation.ui.ktx)
implementation(libs.navigation.fragment)
implementation(libs.navigation.ui)
implementation(libs.webkit)

//Misc
Expand Down
37 changes: 1 addition & 36 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -29,39 +29,4 @@

# fetch okhttp
-dontwarn okhttp3.internal.Util
-dontwarn okhttp3.internal.annotations.EverythingIsNonNull

# https://github.com/google/gson/blob/main/examples/android-proguard-example/proguard.cfg
##---------------Begin: proguard configuration for Gson ----------
# Gson uses generic type information stored in a class file when working with fields. Proguard
# removes such information by default, so configure it to keep all of it.
-keepattributes Signature

# For using GSON @Expose annotation
-keepattributes *Annotation*

# Gson specific classes
-dontwarn sun.misc.**
-keep class com.google.gson.stream.** { *; }

-keepattributes EnclosingMethod
# Application classes that will be serialized/deserialized over Gson
-keep class com.github.andreyasadchy.xtra.model.** { *; }

# Prevent proguard from stripping interface information from TypeAdapter, TypeAdapterFactory,
# JsonSerializer, JsonDeserializer instances (so they can be used in @JsonAdapter)
-keep class * extends com.google.gson.TypeAdapter
-keep class * implements com.google.gson.TypeAdapterFactory
-keep class * implements com.google.gson.JsonSerializer
-keep class * implements com.google.gson.JsonDeserializer

# Prevent R8 from leaving Data object members always null
-keepclassmembers,allowobfuscation class * {
@com.google.gson.annotations.SerializedName <fields>;
}

# Retain generic signatures of TypeToken and its subclasses with R8 version 3.0 and higher.
-keep,allowobfuscation,allowshrinking class com.google.gson.reflect.TypeToken
-keep,allowobfuscation,allowshrinking class * extends com.google.gson.reflect.TypeToken

##---------------End: proguard configuration for Gson ----------
-dontwarn okhttp3.internal.annotations.EverythingIsNonNull
Loading

0 comments on commit 622060f

Please sign in to comment.