remove shrinkResources and minifyEnabled to reduce apk size (#2104)

* remove shrinkResources and minifyEnabled to reduce apk size * remove shrinkResources and minifyEnabled to reduce apk size

cyan committed Apr 11, 2025 at 02:12 UTC db051232cede5d831aed47ed93203f7de1a1c05b
2 files changed +2 -4
android/app/build.gradle
-3
@@ -74,9 +74,6 @@ android {
74 release {
75 signingConfig signingConfigs.release
76
77 - shrinkResources false
78 - minifyEnabled false
79 -
77 proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
78 }
79 debug {
android/app/proguard-rules.pro
+2 -1
@@ -5,4 +5,5 @@
5 -keep class io.flutter.view.** { *; }
6 -keep class io.flutter.** { *; }
7 -keep class io.flutter.plugins.** { *; }
8 --dontwarn io.flutter.embedding.**
\ No newline at end of file
8 +-dontwarn io.flutter.embedding.**
9 +-dontwarn com.google.android.play.core.splitcompat.SplitCompatApplication
\ No newline at end of file