Configure and build with new proper release keystore

This commit is contained in:
2026-06-30 21:34:36 +02:00
parent 5f838865c4
commit cc0a6bdf2c
3 changed files with 9 additions and 1 deletions
BIN
View File
Binary file not shown.
+9 -1
View File
@@ -104,6 +104,14 @@ android {
keyAlias 'androiddebugkey'
keyPassword 'android'
}
release {
if (project.hasProperty('SCHNAPPIX_RELEASE_STORE_FILE')) {
storeFile file("../../" + SCHNAPPIX_RELEASE_STORE_FILE)
storePassword SCHNAPPIX_RELEASE_STORE_PASSWORD
keyAlias SCHNAPPIX_RELEASE_KEY_ALIAS
keyPassword SCHNAPPIX_RELEASE_KEY_PASSWORD
}
}
}
buildTypes {
debug {
@@ -112,7 +120,7 @@ android {
release {
// Caution! In production, you need to generate your own keystore file.
// see https://reactnative.dev/docs/signed-apk-android.
signingConfig signingConfigs.debug
signingConfig signingConfigs.release
def enableShrinkResources = findProperty('android.enableShrinkResourcesInReleaseBuilds') ?: 'false'
shrinkResources enableShrinkResources.toBoolean()
minifyEnabled enableMinifyInReleaseBuilds
Binary file not shown.