A new Flutter project.
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
How to publish to the PlayStore
First the user has to generate a certificate:
keytool -genkey -v -keystore ~/upload-keystore.jks -keyalg RSA -keysize 2048 -validity 10000 -alias upload
Afterwards create a file named [project]/android/key.properties that contains a reference to your keystore (Warning: Keep the key.properties file private; don’t check it into public source control.):
storePassword=<password from previous step>
keyPassword=<password from previous step>
keyAlias=upload
storeFile=<location of the key store file, such as /Users/<user name>/upload-keystore.jks>
If everything has been set up the following command can be used to generate an aab file:
flutter build appbundle
The final file can be found in the following directory: [project]/build/app/outputs/bundle/release/app.aab