diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts
index aafc64c..8deddef 100644
--- a/android/app/build.gradle.kts
+++ b/android/app/build.gradle.kts
@@ -15,6 +15,8 @@ android {
compileSdk = flutter.compileSdkVersion
ndkVersion = flutter.ndkVersion
+
+
compileOptions {
isCoreLibraryDesugaringEnabled = true
targetCompatibility = JavaVersion.VERSION_17
@@ -40,10 +42,30 @@ android {
}
buildTypes {
- release {
+ getByName("release") {
// 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("debug")
+
+ /// 20260928 - Without minifying.
+ /// Built build/app/outputs/flutter-apk/app-release.apk (54.3MB)
+ /// Built build/app/outputs/flutter-apk/app-armeabi-v7a-release.apk (17.2MB)
+ /// Built build/app/outputs/flutter-apk/app-arm64-v8a-release.apk (19.8MB)
+ /// Built build/app/outputs/flutter-apk/app-x86_64-release.apk (21.2MB)
+
+ isMinifyEnabled = true
+ isShrinkResources = true
+ proguardFiles(
+ getDefaultProguardFile("proguard-android-optimize.txt"),
+ "proguard-rules.pro"
+ )
+
+ /// 20260928 - With minifying, helped some, but also used
+ /// in combination with `--obfuscate --split-debug-info=./debug-info/`
+ /// Built build/app/outputs/flutter-apk/app-release.apk (54.3MB)
+ /// Built build/app/outputs/flutter-apk/app-armeabi-v7a-release.apk (16.1MB)
+ /// Built build/app/outputs/flutter-apk/app-arm64-v8a-release.apk (18.8MB)
+ /// Built build/app/outputs/flutter-apk/app-x86_64-release.apk (20.3MB)
}
}
}
diff --git a/android/app/proguard-rules.pro b/android/app/proguard-rules.pro
new file mode 100644
index 0000000..e69de29
diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml
index 667aefb..5d64b5a 100644
--- a/android/app/src/main/AndroidManifest.xml
+++ b/android/app/src/main/AndroidManifest.xml
@@ -3,13 +3,14 @@
xmlns:tools="http://schemas.android.com/tools"
>
+
-
@@ -25,10 +26,9 @@
- -->
+
@@ -74,16 +75,14 @@
-
-
-
-
- -->
+