From 3e1c3133cad68513cde2acb5a3f558a1235af79b Mon Sep 17 00:00:00 2001 From: CappielloAntonio Date: Mon, 19 Feb 2024 21:07:47 +0100 Subject: [PATCH] fix: fix crash with TypeToken and reflection --- 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 2ef25c5f..48b1f068 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -22,4 +22,7 @@ -keepattributes SourceFile, LineNumberTable -keep public class * extends java.lang.Exception --keep class retrofit2.** { *; } \ No newline at end of file +-keep class retrofit2.** { *; } + +-keep class **.reflect.TypeToken { *; } +-keep class * extends **.reflect.TypeToken \ No newline at end of file