Skip to content

Commit

Permalink
Fix apk build
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeDoctorDE committed May 30, 2024
1 parent 0e53a64 commit f7b9db8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions app/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,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 = "dev.linwood.quokka"
compileSdk = flutter.compileSdkVersion
Expand Down Expand Up @@ -75,8 +81,6 @@ android {

buildTypes {
release {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
if (keystorePropertiesFile.exists()) {
signingConfig signingConfigs.release
} else {
Expand Down

0 comments on commit f7b9db8

Please sign in to comment.