Release build

Build release for Android app & IOS app.

Goto for android: https://flutter.io/android-release/

Goto for ios: https://flutter.io/ios-release/

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