Skip to content

Commit

Permalink
Retain only fields for GSON and allow methods/constructors to be removed
Browse files Browse the repository at this point in the history
  • Loading branch information
Hopsaheysa committed Dec 13, 2024
1 parent d159ba0 commit 49bcef7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion library/consumer-proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,9 @@
@com.google.gson.annotations.SerializedName <fields>;
}

-keep, allowobfuscation class com.wultra.android.mtokensdk.api.** { *; }
# handle Gson
-keepclassmembers class com.wultra.android.mtokensdk.api.** {
<fields>;
}
# handle R8 full mode optimizations
-keep, allowobfuscation class com.wultra.android.mtokensdk.api.**

0 comments on commit 49bcef7

Please sign in to comment.