From bb4d6a4dbe7ba73e5ba264f2e795929a872bee24 Mon Sep 17 00:00:00 2001 From: Oscar Spruit Date: Mon, 2 Oct 2023 15:36:01 +0200 Subject: [PATCH] Add ProGuard rules for Retrofit --- example-app/proguard-rules.pro | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/example-app/proguard-rules.pro b/example-app/proguard-rules.pro index c95d789c06..82c173a12d 100644 --- a/example-app/proguard-rules.pro +++ b/example-app/proguard-rules.pro @@ -23,3 +23,8 @@ # Temporary rules to fix an issue with the Cash App SDK -dontwarn kotlinx.serialization.KSerializer -dontwarn kotlinx.serialization.Serializable + +# Temporary rules to fix an issue with Retrofit +-keep,allowobfuscation,allowshrinking interface retrofit2.Call +-keep,allowobfuscation,allowshrinking class retrofit2.Response +-keep,allowobfuscation,allowshrinking class kotlin.coroutines.Continuation