diff --git a/.gitignore b/.gitignore index c6211e85..4f29eee6 100644 Binary files a/.gitignore and b/.gitignore differ diff --git a/android/app/build.gradle b/android/app/build.gradle index 3ea25b0d..c57b9b62 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -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 diff --git a/schnappix-upload-key.keystore b/schnappix-upload-key.keystore new file mode 100644 index 00000000..d481d7b6 Binary files /dev/null and b/schnappix-upload-key.keystore differ