From 9978a11c525b3245fba70f031842ad66fb10ca7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kuba=20Szczodrzy=C5=84ski?= Date: Sun, 15 Dec 2019 15:59:46 +0100 Subject: [PATCH] [Proguard] Update Proguard rules for Retrofit and JNI code. --- app/proguard/app.pro | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/app/proguard/app.pro b/app/proguard/app.pro index cd39e808..0c00ff11 100644 --- a/app/proguard/app.pro +++ b/app/proguard/app.pro @@ -49,4 +49,13 @@ # Most of volatile fields are updated with AFU and should not be mangled -keepclassmembernames class kotlinx.** { volatile ; -} \ No newline at end of file +} + +-keepclasseswithmembernames class * { + native ; +} + +-keep class pl.szczodrzynski.edziennik.data.api.szkolny.interceptor.Signing { public final byte[] pleaseStopRightNow(java.lang.String, long); } + +-keepclassmembernames class pl.szczodrzynski.edziennik.data.api.szkolny.request.** { *; } +-keepclassmembernames class pl.szczodrzynski.edziennik.data.api.szkolny.response.** { *; } \ No newline at end of file