fix(AppUpdate): prevent githubApi response data class to be obfuscated
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
package io.legado.app.help.update
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
import io.legado.app.exception.NoStackTraceException
|
||||
import java.time.Instant
|
||||
|
||||
@Keep
|
||||
data class AppReleaseInfo(
|
||||
val appVariant: AppVariant,
|
||||
val createdAt: Long,
|
||||
@@ -27,6 +29,7 @@ enum class AppVariant {
|
||||
|
||||
}
|
||||
|
||||
@Keep
|
||||
data class GithubRelease(
|
||||
val assets: List<Asset>?,
|
||||
val body: String,
|
||||
@@ -41,6 +44,7 @@ data class GithubRelease(
|
||||
}
|
||||
}
|
||||
|
||||
@Keep
|
||||
data class Asset(
|
||||
@SerializedName("browser_download_url")
|
||||
val apkUrl: String,
|
||||
|
||||
Reference in New Issue
Block a user