Skip to content

Commit

Permalink
Added release version
Browse files Browse the repository at this point in the history
  • Loading branch information
achaval-tomas committed Jan 25, 2024
1 parent 7ff46e4 commit 6fc8569
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 8 deletions.
27 changes: 20 additions & 7 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ if (flutterVersionName == null) {
flutterVersionName = '1.0'
}

def keystoreProperties = new Properties()
def keystorePropertiesFile = rootProject.file('key.properties')
if (keystorePropertiesFile.exists()) {
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
}

android {
namespace "com.myfirstproject.mynotes"
compileSdkVersion flutter.compileSdkVersion
Expand Down Expand Up @@ -51,13 +57,20 @@ android {
versionName flutterVersionName
}

buildTypes {
release {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig signingConfigs.debug
}
}
signingConfigs {
release {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
storePassword keystoreProperties['storePassword']
}
}
buildTypes {
release {
signingConfig signingConfigs.release
}
}

}

flutter {
Expand Down
2 changes: 1 addition & 1 deletion lib/l10n/intl_es.arb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"cannot_share_empty_note_prompt": "No puedes compartir notas vacías!",
"generic_error_prompt": "Ocurrió un error",
"logout_dialog_title": "Cerrando Sesión",
"logout_dialog_prompt": "Deseas cerrar sesión?",
"logout_dialog_prompt": "Estas seguro de que quieres cerrar sesión?",

"password_reset": "Recuperar Contraseña",
"password_reset_dialog_prompt": "Te enviamos un enlace para re-establecer tu contraseña. Revisa tu inbox para mas información.",
Expand Down

0 comments on commit 6fc8569

Please sign in to comment.