mirror of
https://github.com/emanuele-f/PCAPdroid.git
synced 2026-05-08 21:12:26 +00:00
Enable minify to reduce apk size
This commit is contained in:
+2
-1
@@ -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
|
||||
|
||||
Vendored
+7
@@ -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.** { *; }
|
||||
Reference in New Issue
Block a user