From a03f08fca1ff5b47992e30e1c00f77152444a07e Mon Sep 17 00:00:00 2001 From: aminecmi Date: Mon, 27 Nov 2023 21:31:26 +0100 Subject: [PATCH] fix: Handle kodein proguard rules. --- androidApp/proguard-rules.pro | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/androidApp/proguard-rules.pro b/androidApp/proguard-rules.pro index 9c9f8ce..350f79e 100644 --- a/androidApp/proguard-rules.pro +++ b/androidApp/proguard-rules.pro @@ -86,3 +86,12 @@ -dontwarn io.mockk.** -keep class io.mockk.** { *; } + + + +# Kodein +-keep, allowobfuscation, allowoptimization class org.kodein.type.TypeReference +-keep, allowobfuscation, allowoptimization class org.kodein.type.JVMAbstractTypeToken$Companion$WrappingTest + +-keep, allowobfuscation, allowoptimization class * extends org.kodein.type.TypeReference +-keep, allowobfuscation, allowoptimization class * extends org.kodein.type.JVMAbstractTypeToken$Companion$WrappingTest \ No newline at end of file