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 { *; }