Fix(Tool): Fixed the bug of being unable to load stores and tools after compiling to release
This commit is contained in:
5
app/proguard-rules.pro
vendored
5
app/proguard-rules.pro
vendored
@@ -17,6 +17,11 @@
|
|||||||
<fields>;
|
<fields>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Keep SerialName annotation
|
||||||
|
-keepclassmembers class * {
|
||||||
|
@kotlinx.serialization.SerialName <fields>;
|
||||||
|
}
|
||||||
|
|
||||||
# Uncomment this to preserve the line number information for
|
# Uncomment this to preserve the line number information for
|
||||||
# debugging stack traces.
|
# debugging stack traces.
|
||||||
#-keepattributes SourceFile,LineNumberTable
|
#-keepattributes SourceFile,LineNumberTable
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ internal object NetworkModule {
|
|||||||
HttpLoggingInterceptor()
|
HttpLoggingInterceptor()
|
||||||
.apply {
|
.apply {
|
||||||
if (BuildConfig.DEBUG) {
|
if (BuildConfig.DEBUG) {
|
||||||
setLevel(HttpLoggingInterceptor.Level.BODY)
|
level = HttpLoggingInterceptor.Level.BODY
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user