From cba2ed59447e81ce0210a8a5573910bdfa2d9afd Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Wed, 3 May 2023 01:58:22 +0530 Subject: [PATCH] fix: strip out invalid R8 rules --- android/proguard-android-optimize.pro | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/android/proguard-android-optimize.pro b/android/proguard-android-optimize.pro index 99ca6650..fbda90f3 100644 --- a/android/proguard-android-optimize.pro +++ b/android/proguard-android-optimize.pro @@ -1,22 +1,19 @@ -allowaccessmodification --dontpreverify --dontusemixedcaseclassnames --dontskipnonpubliclibraryclasses -verbose -keepattributes *Annotation* -keepclasseswithmembernames class * { - native ; + native ; } -keepclassmembers enum * { - public static **[] values(); - public static ** valueOf(java.lang.String); + public static **[] values(); + public static ** valueOf(java.lang.String); } -keepclassmembers class * implements android.os.Parcelable { - public static final ** CREATOR; + public static final ** CREATOR; } -keep class androidx.annotation.Keep @@ -24,13 +21,13 @@ -keep @androidx.annotation.Keep class * {*;} -keepclasseswithmembers class * { - @androidx.annotation.Keep ; + @androidx.annotation.Keep ; } -keepclasseswithmembers class * { - @androidx.annotation.Keep ; + @androidx.annotation.Keep ; } -keepclasseswithmembers class * { - @androidx.annotation.Keep (...); + @androidx.annotation.Keep (...); }