mirror of
https://github.com/bitwarden/android.git
synced 2024-11-24 10:25:57 +03:00
BIT-925: Fix Proguard issues when there is no network (#148)
This commit is contained in:
parent
e4f4362bbd
commit
84b127bd10
2 changed files with 8 additions and 3 deletions
8
app/proguard-rules.pro
vendored
8
app/proguard-rules.pro
vendored
|
@ -7,6 +7,14 @@
|
||||||
-keep class com.bitwarden.core.** { *; }
|
-keep class com.bitwarden.core.** { *; }
|
||||||
-keep class com.bitwarden.sdk.** { *; }
|
-keep class com.bitwarden.sdk.** { *; }
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Bitwarden Models
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
# R8 currently has trouble with some Retrofit calls dealing with sealed classes.
|
||||||
|
# For now we will keep all network layer models.
|
||||||
|
-keepclassmembers class com.x8bit.bitwarden.**.network.model.** { *; }
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# Firebase Crashlytics
|
# Firebase Crashlytics
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
|
@ -6,6 +6,3 @@ android.useAndroidX=true
|
||||||
kotlin.code.style=official
|
kotlin.code.style=official
|
||||||
|
|
||||||
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
|
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
|
||||||
|
|
||||||
# TODO: enable full mode: BIT-932
|
|
||||||
android.enableR8.fullMode=false
|
|
||||||
|
|
Loading…
Reference in a new issue