Skip to content

Commit

Permalink
signing
Browse files Browse the repository at this point in the history
  • Loading branch information
pablouser1 committed Sep 2, 2024
1 parent bfe9879 commit ed3c9b8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
13 changes: 10 additions & 3 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,19 @@ android {
versionCode = flutter.versionCode
versionName = flutter.versionName
}

signingConfigs {
release {
keyAlias = System.getenv('KEY_ALIAS')
keyPassword = System.getenv('KEY_PASSWORD')
storeFile = System.getenv('STORE_FILE') ? file(System.getenv('STORE_FILE')) : null
storePassword = System.getenv('STORE_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
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix.
version: 1.1.5+2
version: 1.1.5+3

environment:
sdk: ^3.5.1
Expand Down

0 comments on commit ed3c9b8

Please sign in to comment.