forked from yaso_meth/mih-project
Android Config Changes
This commit is contained in:
@@ -55,6 +55,11 @@ 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.getByName("release")
|
||||
isMinifyEnabled = true
|
||||
proguardFiles(
|
||||
getDefaultProguardFile("proguard-android-optimize.txt"),
|
||||
"proguard-rules.pro"
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
5
Frontend/android/app/proguard-rules.pro
vendored
Normal file
5
Frontend/android/app/proguard-rules.pro
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
# R8/ProGuard rules to prevent removal of necessary Facebook Infer annotations
|
||||
-keep class com.facebook.infer.annotation.** { *; }
|
||||
-keep interface com.facebook.infer.annotation.** { *; }
|
||||
-dontwarn com.facebook.infer.annotation.Nullsafe$Mode
|
||||
-dontwarn com.facebook.infer.annotation.Nullsafe
|
||||
Reference in New Issue
Block a user