From 95fff5726635065bb1db49f2137af6b5b6d30283 Mon Sep 17 00:00:00 2001 From: Jacopo Tediosi Date: Sat, 26 Nov 2022 15:40:09 +0100 Subject: [PATCH] Fixed proguard-rules causing protobuf to crash --- app/proguard-rules.pro | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 481bb43..a42b692 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -18,4 +18,7 @@ # If you keep the line number information, uncomment this to # hide the original source file name. -#-renamesourcefileattribute SourceFile \ No newline at end of file +#-renamesourcefileattribute SourceFile + +# Keep protobuf autogenerated classes +-keep class * extends com.google.protobuf.GeneratedMessageLite { *; } \ No newline at end of file