Make changes to reduce the release APK/app bundle size.

This commit is contained in:
KotlinGeekDev
2023-01-20 20:26:46 +01:00
committed by KotlinGeek
parent 144b0a7512
commit b915956f57
3 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ android {
buildTypes {
release {
minifyEnabled false
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
+5 -1
View File
@@ -18,4 +18,8 @@
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
#-renamesourcefileattribute SourceFile
# For the Secp256k1 library
-keep class fr.acinq.secp256k1.jni.** { *; }
# For the NostrPostr library
-keep class nostr.postr.** { *; }