From fb9627b7c48c530ce266075dcce2ea6d0f0056b5 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Fri, 7 Jun 2019 10:17:14 +0200 Subject: [PATCH] Share the debug signature to all machines which build the debug APK --- vector/build.gradle | 11 +++++++++++ vector/signature/README.md | 12 ++++++++++++ vector/signature/debug.keystore | Bin 0 -> 1260 bytes 3 files changed, 23 insertions(+) create mode 100644 vector/signature/README.md create mode 100644 vector/signature/debug.keystore diff --git a/vector/build.gradle b/vector/build.gradle index b9e01ed0..4cec152f 100644 --- a/vector/build.gradle +++ b/vector/build.gradle @@ -71,10 +71,21 @@ android { testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } + signingConfigs { + debug { + keyAlias 'androiddebugkey' + keyPassword 'android' + storeFile file('./signature/debug.keystore') + storePassword 'android' + } + } + buildTypes { debug { resValue "bool", "debug_mode", "true" buildConfigField "boolean", "LOW_PRIVACY_LOG_ENABLE", "false" + + signingConfig signingConfigs.debug } release { diff --git a/vector/signature/README.md b/vector/signature/README.md new file mode 100644 index 00000000..7d9005f1 --- /dev/null +++ b/vector/signature/README.md @@ -0,0 +1,12 @@ + +## Debug signature + +Buildkite CI tool uses docker images to build the Android application, and it looks like the debug signature is changed at each build. + +So it's not possible for user to upgrade the application with the last build from buildkite without uninstalling the application. + +This folder contains a debug signature, and the debug build will uses this signature to build the APK. + +The validity of the signature is 30 years. So it has to be replaced before June 2049 :). + +More info about the debug signature: https://developer.android.com/studio/publish/app-signing#debug-mode diff --git a/vector/signature/debug.keystore b/vector/signature/debug.keystore new file mode 100644 index 0000000000000000000000000000000000000000..4a15fc9eca2637827fa4ee2cb43a4ee437d21bb8 GIT binary patch literal 1260 zcmezO_TO6u1_mY|W&~sY#JrTE{LGY;)TGk%?9@u2c(%dMb*q7Db{jM?Z8zX!KA$&MBV5;->Wo7f-pH$kmsm2zFn@&D>cJieLfwJ(wvo` zX6!QfywWX}%k}zG>#YGgEme=AcqhMiWJoOZy0~0;$yr6MvS$WQI=1HDxGy+sW~R^O z=;NyU58V|tl-0j@%;m<f z!RY8a%^KB3=e?Wm&g#?4<>FFbxK7mI6Ti|!tAO(GrAMZGR^T)Hw&`0<2xH{GPere{ z%E=~Jwm&mUeP%1R=F`soYvz5qapC;B*B@uH+O3T!Yx)ta95(&W_6_B8%Wxnj3BN^!0K_hf?aABD4m2JHXdOgeR< z;JVFmi*@zP?7Mebv{h$j=}su}%IDa*cXk$Ia9hjIF7t!uBwPu;lSOZ1FLgd&Pcz z;f|bwBbtx<{;(}w&>-)pz4z{g1DRVUB#5nZ=q-?$bl=#?sd?#-leXFmjx3tN^_T7K z;Xu2U<{!@f__%Ch$SOOT+TcFTTdSWb$>fW8!7|Ek_rxvMB%M(feHYtkT|Mw?y*^J_V2Oz84Yuc(?Lv=yDf{ zbA7+^`BqZ0lW?A1+tTtj1>0_E-R6&swiBF# zrxzT0uA;y1!KL&ak196r`CZfSE@;J%Q@8b5xxd_KJd zoVHmb^h^ybfhqc-K@;O$Aa-M7WHjJqL;$er18*&?Pf<)ManL>jN_H2qx2z@ literal 0 HcmV?d00001