Enable minify to reduce apk size

This commit is contained in:
emanuele-f
2025-02-16 11:44:04 +01:00
parent 7899906b60
commit 0ca5ff01bf
2 changed files with 9 additions and 1 deletions
+2 -1
View File
@@ -33,7 +33,8 @@ android {
buildTypes {
release {
minifyEnabled false
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
debug {
// Use a different app ID for debug to allow its coexistence with release builds
+7
View File
@@ -0,0 +1,7 @@
-keepattributes LineNumberTable,SourceFile
-renamesourcefileattribute SourceFile
-dontobfuscate
# some classes are required by the native code, keep them all for now
-keep class com.emanuelef.remote_capture.** { *; }
-keep class com.pcapdroid.mitm.** { *; }