This package helps you to sign your android app. It generates the keys/KEYSTORE_NAME.keystore
, android/key.properties
and edits the android/app/build.gradle
.
Use these flags:
- -a (required) to set alias
- -p (required) to set a password
- -y to overwrite the .keystore if keys/KEYSTORE_NAME.keystore has already been created
Add package in dev_dependencies
dev_dependencies:
keystore_generator:
Command flutter pub run keystore_generator -a test -p test123 -y
creates a keystore with 'test' alias, 'test123' password and overwrites existing keystore.
Package modifies files exactly as recommended here