Skip to content

Commit

Permalink
Setup AVM keystore for release build for Google Play
Browse files Browse the repository at this point in the history
  • Loading branch information
Matej-Hlatky committed May 28, 2024
1 parent 7d3fb79 commit 20788c7
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,18 @@ android {
}
}

signingConfigs {
release {
storeFile file(System.getenv("AVM_KEYSTORE_FILE"))
storePassword System.getenv("AVM_KEYSTORE_PASSWORD")
keyAlias System.getenv("AVM_KEY_ALIAS")
keyPassword System.getenv("AVM_KEY_PASSWORD")
}
}

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
signingConfig signingConfigs.release
}
}
}
Expand Down

0 comments on commit 20788c7

Please sign in to comment.