diff --git a/android/build.gradle b/android/build.gradle index 484ef2f..041349f 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -30,6 +30,7 @@ android { targetSdkVersion 31 versionCode 1 versionName '3.12.4' + consumerProguardFiles 'proguard-rules.pro' } lintOptions { disable 'InvalidPackage' diff --git a/android/proguard-rules.pro b/android/proguard-rules.pro new file mode 100644 index 0000000..e9d9ae2 --- /dev/null +++ b/android/proguard-rules.pro @@ -0,0 +1,4 @@ +--dontwarn com.huawei.** + +-dontwarn com.google.android.play.integrity.** +-dontwarn com.google.android.play.core.integrity.** diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle index 28c9e33..311aefa 100644 --- a/example/android/app/build.gradle +++ b/example/android/app/build.gradle @@ -42,6 +42,8 @@ android { // TODO: Add your own signing config for the release build. // Signing with the debug keys for now, so `flutter run --release` works. signingConfig signingConfigs.debug + minifyEnabled true + shrinkResources true } }