[Proguard] Fix file location, make it more aggressive and remove deprecated option

Took 3 hours 45 minutes
This commit is contained in:
Marcel 2020-05-13 19:51:30 +02:00
parent 3ddd6f5c41
commit ed11887e07
2 changed files with 2 additions and 1 deletions

View file

@ -73,7 +73,6 @@ android {
release {
signingConfig signingConfigs.release
minifyEnabled true
useProguard true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}

View file

@ -1,3 +1,4 @@
-optimizationpasses 5
## Flutter wrapper
-keep class io.flutter.app.** { *; }
-keep class io.flutter.plugin.** { *; }
@ -6,4 +7,5 @@
-keep class io.flutter.** { *; }
-keep class io.flutter.plugins.** { *; }
-dontwarn io.flutter.embedding.**
## Sqlite Encryption
-keep class net.sqlcipher.** { *; }