publish 1.0.8
publish: ^1.0.8 copied to clipboard
A Flutter package to simplify generating Android signing keys and creating signed bundles for Play Store publishing.
publish #
publish is a Flutter package designed to make it easier for developers to set up Android app signing and create signed app bundles for Play Store publishing. No need to memorize complex commands – just use this package to generate keys and configure the signing process with ease.
Features: #
- Automatically generate Android keystores.
- Create and configure the
key.propertiesfile for signing. - Update the
build.gradlefile for signing your app. - Update your Android App Package Name
- Simplified command usage for creating signed bundles.
Installation: #
-
Add the following to your
pubspec.yamlfile:dependencies: publish: ^latest-version -
Run the command:
flutter pub get
Steps: #
-
Setup Android Signing: To generate the signing key and configure necessary files, use this command:
flutter pub run publish --android-signThis will:
- Update package name
- Generate a keystore file.
- Create the
key.propertiesfile with your details. - Update your
build.gradlefile for release builds.
-
Generate App Bundle:
- To update app version, open
pubspec.yamland update theversionfield accordingly. - To create a signed app bundle, use this command:
This will generate a signed app bundle in theflutter build appbundlebuild/app/outputs/bundle/releasedirectory.
- To update app version, open
-
Publish to Play Store: Once the app bundle is generated, you can upload it to the Play Store for distribution.
Optional: #
Add the generated keystore and key.properties file to your Git repository to avoid re-generating them.
Contributions: #
You are welcome to open issues or contribute to improving the package.
License: #
This project is licensed under the MIT License.