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

Took 3 hours 45 minutes
onboarding
Marcel 6 years ago
parent 74a0bb1b72
commit f2486e6cb9

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

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