From ed1a83795da8d578c855cc2652f438dd7f9590f0 Mon Sep 17 00:00:00 2001 From: Henry Hiles Date: Tue, 26 Dec 2023 11:42:54 -0500 Subject: [PATCH] Fix release proguard --- app/proguard-rules.pro | 25 ++++--------------------- 1 file changed, 4 insertions(+), 21 deletions(-) diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index ff59496..b1f9419 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -1,21 +1,4 @@ -# Add project specific ProGuard rules here. -# You can control the set of applied configuration files using the -# proguardFiles setting in build.gradle.kts. -# -# For more details, see -# http://developer.android.com/guide/developing/tools/proguard.html - -# If your project uses WebView with JS, uncomment the following -# and specify the fully qualified class name to the JavaScript interface -# class: -#-keepclassmembers class fqcn.of.javascript.interface.for.webview { -# public *; -#} - -# Uncomment this to preserve the line number information for -# debugging stack traces. -#-keepattributes SourceFile,LineNumberTable - -# If you keep the line number information, uncomment this to -# hide the original source file name. -#-renamesourcefileattribute SourceFile \ No newline at end of file +-keep,allowobfuscation,allowshrinking class kotlin.coroutines.Continuation +-if interface * { @retrofit2.http.* public *** *(...); } + -keep,allowoptimization,allowshrinking,allowobfuscation class <3> + -keep,allowobfuscation,allowshrinking class retrofit2.Response \ No newline at end of file