From e9948a291a8319ede4a49930760a456bd3d9543e Mon Sep 17 00:00:00 2001 From: Brandon Presley Date: Fri, 15 Jul 2022 20:06:41 +1200 Subject: [PATCH] Use release config for debug --- android/app/build.gradle | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index 9409577..a2da4d7 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -119,10 +119,12 @@ android { } } debug { - storeFile file('debug.keystore') - storePassword 'android' - keyAlias 'androiddebugkey' - keyPassword 'android' + if (project.hasProperty('MYAPP_UPLOAD_STORE_FILE')) { + storeFile file(MYAPP_UPLOAD_STORE_FILE) + storePassword MYAPP_UPLOAD_STORE_PASSWORD + keyAlias MYAPP_UPLOAD_KEY_ALIAS + keyPassword MYAPP_UPLOAD_KEY_PASSWORD + } } } buildTypes {