mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-12-18 15:22:07 +03:00
Share the debug signature to all machines which build the debug APK
This commit is contained in:
parent
b782e5e8af
commit
fb9627b7c4
3 changed files with 23 additions and 0 deletions
|
@ -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 a new issue