mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-15 01:35:07 +08:00
Share the debug signature to all machines which build the debug APK
This commit is contained in:
parent
b782e5e8af
commit
fb9627b7c4
@ -71,10 +71,21 @@ android {
|
|||||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
signingConfigs {
|
||||||
|
debug {
|
||||||
|
keyAlias 'androiddebugkey'
|
||||||
|
keyPassword 'android'
|
||||||
|
storeFile file('./signature/debug.keystore')
|
||||||
|
storePassword 'android'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
debug {
|
debug {
|
||||||
resValue "bool", "debug_mode", "true"
|
resValue "bool", "debug_mode", "true"
|
||||||
buildConfigField "boolean", "LOW_PRIVACY_LOG_ENABLE", "false"
|
buildConfigField "boolean", "LOW_PRIVACY_LOG_ENABLE", "false"
|
||||||
|
|
||||||
|
signingConfig signingConfigs.debug
|
||||||
}
|
}
|
||||||
|
|
||||||
release {
|
release {
|
||||||
|
12
vector/signature/README.md
Normal file
12
vector/signature/README.md
Normal file
@ -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
|
BIN
vector/signature/debug.keystore
Normal file
BIN
vector/signature/debug.keystore
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user