diff --git a/Android/app/proguard-rules.pro b/Android/app/proguard-rules.pro index 481bb43..08e4fd6 100644 --- a/Android/app/proguard-rules.pro +++ b/Android/app/proguard-rules.pro @@ -18,4 +18,15 @@ # 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 enum com.majinnaibu.monstercards.data.enums.AbilityScore +-keep enum com.majinnaibu.monstercards.data.enums.ProficiencyType +-keep enum com.majinnaibu.monstercards.data.enums.AdvantageType +-keep enum com.majinnaibu.monstercards.data.enums.TraitType +-keep enum com.majinnaibu.monstercards.data.enums.StringType +-keepclassmembers,allowoptimization enum * { + ; + public static **[] values(); + public static ** valueOf(java.lang.String); +}