Fix crashes due to protobuf obfuscation
This commit is contained in:
4
app/proguard-rules.pro
vendored
4
app/proguard-rules.pro
vendored
@@ -20,6 +20,10 @@
|
|||||||
# hide the original source file name.
|
# hide the original source file name.
|
||||||
#-renamesourcefileattribute SourceFile
|
#-renamesourcefileattribute SourceFile
|
||||||
|
|
||||||
|
### Keep Protobuf classes https://github.com/protocolbuffers/protobuf/issues/6463#issuecomment-632884075 ###
|
||||||
|
-keep class * extends com.google.protobuf.GeneratedMessageLite { *; }
|
||||||
|
### Keep Protobuf classes https://github.com/protocolbuffers/protobuf/issues/6463#issuecomment-632884075 ###
|
||||||
|
|
||||||
### Remove logging https://www.guardsquare.com/manual/configuration/examples#logging ###
|
### Remove logging https://www.guardsquare.com/manual/configuration/examples#logging ###
|
||||||
-assumenosideeffects class android.util.Log {
|
-assumenosideeffects class android.util.Log {
|
||||||
public static int v(...);
|
public static int v(...);
|
||||||
|
|||||||
Reference in New Issue
Block a user