Fix crashes due to protobuf obfuscation

This commit is contained in:
Kirill Kamakin
2022-06-12 20:11:52 +02:00
parent 02fd24367b
commit 442b0e78c6

View File

@@ -20,6 +20,10 @@
# hide the original source file name.
#-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 ###
-assumenosideeffects class android.util.Log {
public static int v(...);