From 0c0ddd36575b406b81aea063a00db8e105504d9a Mon Sep 17 00:00:00 2001 From: MohitMaliFtechiz Date: Fri, 26 Jul 2024 13:08:15 +0530 Subject: [PATCH] Added CoreComponentFactory to multidex-instrumentation-config.pro, and proGruard file --- app/multidex-instrumentation-config.pro | 1 + core/proguard-rules.pro | 1 + 2 files changed, 2 insertions(+) diff --git a/app/multidex-instrumentation-config.pro b/app/multidex-instrumentation-config.pro index f35052ea5..bc778c22c 100644 --- a/app/multidex-instrumentation-config.pro +++ b/app/multidex-instrumentation-config.pro @@ -3,3 +3,4 @@ -keep class org.hamcrest.Matchers -keep class org.kiwix.kiwixmobile.** { *; } -keep class org.mockito.** { *; } +-keep class androidx.core.app.CoreComponentFactory { *; } diff --git a/core/proguard-rules.pro b/core/proguard-rules.pro index f1b424510..e8862d313 100644 --- a/core/proguard-rules.pro +++ b/core/proguard-rules.pro @@ -19,3 +19,4 @@ # If you keep the line number information, uncomment this to # hide the original source file name. #-renamesourcefileattribute SourceFile +-keep class androidx.core.app.CoreComponentFactory { *; }