From dceb99be5723125db1389f03e4f40fa46b238eb0 Mon Sep 17 00:00:00 2001 From: Imran Remtulla Date: Fri, 16 Jan 2026 21:35:32 -0500 Subject: [PATCH] Allow for unsigned release builds --- android/app/build.gradle.kts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts index 162bc68f..a3bcdf6c 100644 --- a/android/app/build.gradle.kts +++ b/android/app/build.gradle.kts @@ -84,9 +84,10 @@ android { if (gradle.startParameter.taskNames.any { it.contains("release", ignoreCase = true) }) { logger.error( """ - You are trying to create a release build, but a key.properties file was not found. - Falling back to the "debug" signing config. - To sign a release build, a keystore properties file is required. + WARNING: You are trying to create a release build, but a key.properties file was not found. + You will need to sign the APKs separately. + + To sign a release build automatically, a keystore properties file is required. The following is an example configuration. Create a file named [project]/android/key.properties that contains a reference to your keystore. @@ -102,7 +103,7 @@ android { """.trimIndent() ) } - signingConfigs.getByName("debug") + null } } getByName("debug") {