Skip to content

Commit

Permalink
Revert signing config for release keeping the development (debug)
Browse files Browse the repository at this point in the history
  • Loading branch information
ademar111190 authored and erdemyerebasmaz committed Oct 4, 2023
1 parent f10bb94 commit 8a532ce
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -61,18 +61,7 @@ android {
}

signingConfigs {
release {
String filePath = keystoreProperties['storeFile']
if (filePath != null) {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile file(filePath)
storePassword keystoreProperties['storePassword']
} else {
println("No storeFile provided, release builds are not possible")
}
}
debug {
development {
String filePath = keystoreProperties['storeFileDebug']
if (filePath != null) {
keyAlias keystoreProperties['aliasDebug']
Expand All @@ -87,13 +76,15 @@ android {

buildTypes {
debug {
signingConfig signingConfigs.debug
signingConfig signingConfigs.development
applicationIdSuffix '.debug'
versionNameSuffix '-DEBUG'
resValue "string", "app_name", "Breez Cloud - Debug"
}
release {
signingConfig signingConfigs.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
resValue "string", "app_name", "Breez Cloud"
}
}
Expand Down

0 comments on commit 8a532ce

Please sign in to comment.