Links

Release build

To release the build, follow the steps given below.

Create a Keystore

If you have an existing Keystore, skip to the next step. If not, create one by running the following at the command line:
keytool -genkey -v -keystore ~/key.jks -keyalg RSA -keysize 2048 -validity 10000 -alias key
Set up for Preparing an Android App for Release click here​ Set up for Preparing an IOS App for Release click here
Generating the android release (APK or app bundle)
$ flutter build apk --release
$ flutter build appbundle --target-platform android-arm,android-arm64,android-x64

Generating the IOS release

$ flutter build ios --release