From: Nathaniel Wesley Filardo Date: Wed, 2 Mar 2022 23:33:54 +0000 (+0000) Subject: Make the APK and the install footprint smaller X-Git-Url: https://hydra-www.ietfng.org/gitweb/?a=commitdiff_plain;h=b14f27a582c76d796c0fe5814198e88b2a82e21b;p=acmetensortoys-ctfws-android Make the APK and the install footprint smaller - Shrink resources at build time - No WebView analytics database (4M on disk) - pngcrush shield1.png --- diff --git a/mobile/build.gradle b/mobile/build.gradle index 1da5bcf..e62011b 100644 --- a/mobile/build.gradle +++ b/mobile/build.gradle @@ -25,6 +25,7 @@ android { buildTypes { release { minifyEnabled true + shrinkResources true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' buildConfigField "String", "gitDescription", "\"${makeGitDescription()}\"" } diff --git a/mobile/src/main/AndroidManifest.xml b/mobile/src/main/AndroidManifest.xml index 44ca6ef..14e795f 100644 --- a/mobile/src/main/AndroidManifest.xml +++ b/mobile/src/main/AndroidManifest.xml @@ -24,6 +24,9 @@ android:theme="@style/AppTheme" tools:ignore="UnusedAttribute"> + + +