From fc69d7b54432ba627ec0a19d441e3b8087ea6747 Mon Sep 17 00:00:00 2001 From: fankesyooni Date: Tue, 19 Sep 2023 08:18:46 +0800 Subject: [PATCH] refactor: add new R8 rules to fix possible problems --- app/proguard-rules.pro | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 6a4b94a..a834243 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -32,7 +32,7 @@ -adaptresourcefilecontents -renamesourcefileattribute P --keepattributes SourceFile,LineNumberTable +-keepattributes SourceFile,Signature,LineNumberTable -assumenosideeffects class kotlin.jvm.internal.Intrinsics { public static *** throwUninitializedProperty(...); @@ -40,6 +40,7 @@ } -keep class * extends android.app.Activity --keepclassmembers class * implements androidx.viewbinding.ViewBinding { +-keep class * implements androidx.viewbinding.ViewBinding { + (); *** inflate(android.view.LayoutInflater); } \ No newline at end of file