diff --git a/proguard/proguard-gson.pro b/proguard/proguard-gson.pro index cbb33e2d..1f1e0bfc 100644 --- a/proguard/proguard-gson.pro +++ b/proguard/proguard-gson.pro @@ -8,7 +8,9 @@ #R8 # - See https://r8.googlesource.com/r8/+/refs/heads/master/compatibility-faq.md # - See https://medium.com/@harryaung/mysterious-null-crash-with-gson-serializedname-fields-when-r8-proguard-is-on-f8a4bd036e34 --keepclassmembers,allowobfuscation class * { +-if class * +-keepclasseswithmembers class <1> { + (...); @com.google.gson.annotations.SerializedName ; } --keep,allowobfuscation @interface com.google.gson.annotations.SerializedName \ No newline at end of file +-keep,allowobfuscation @interface com.google.gson.annotations.SerializedName