diff --git a/husky/app/proguard-rules.pro b/husky/app/proguard-rules.pro index 712fb0f..317911f 100644 --- a/husky/app/proguard-rules.pro +++ b/husky/app/proguard-rules.pro @@ -85,3 +85,8 @@ public void printStackTrace(); static void checkExpressionValueIsNotNull(java.lang.Object, java.lang.String); static void throwUninitializedPropertyAccessException(java.lang.String); } + +# Gson +# Retain generic signatures of TypeToken and its subclasses with R8 version 3.0 and higher. +-keep,allowobfuscation,allowshrinking class com.google.gson.reflect.TypeToken +-keep,allowobfuscation,allowshrinking class * extends com.google.gson.reflect.TypeToken