From 8e47d8dc58ace26c1c97088c986ea6f06c2efc4e Mon Sep 17 00:00:00 2001 From: enriqueloz88 Date: Mon, 18 Mar 2024 23:38:17 +0100 Subject: [PATCH] build: Run android app in debug mode without any sign --- android/app/build.gradle | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index c3c037dc..1d9a28d6 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -34,7 +34,9 @@ def keystorePropertiesFile = rootProject.file("keys/key.properties") def keystoreProperties = new Properties() // Load your keystore.properties file into the keystoreProperties object. -keystoreProperties.load(new FileInputStream(keystorePropertiesFile)) +if (keystorePropertiesFile.exists()) { + keystoreProperties.load(new FileInputStream(keystorePropertiesFile)) +} android { namespace "com.monekin.app" @@ -68,7 +70,7 @@ android { release { keyAlias keystoreProperties['keyAlias'] keyPassword keystoreProperties['keyPassword'] - storeFile file(keystoreProperties['storeFile']) + storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null storePassword keystoreProperties['storePassword'] } }