First, have an apple and google developer account, with the right setups.
Then go the the root project folder and configure the versioning:
Go to the pubspec.yaml in the root of the flutter project, and edit the versioning/building of the app (in the version parameter):
- The version number (0.2.0) in this case, where you can edit the the current app version
- The build number (after the +) - you just need to increase this for the app bundle.
Now we can build our final executable and release them in the specific stores:
You can find the full official guide here.
The recommended executable in Android is in the format of an AppBundle:
Create an app bundle
From the command line in project’s path, (after you select the release variant in the build submenu - by default “release” should be fine):
flutter build appbundle
The release bundle for your app is created at
You can now upload this .aab file in google play. You can use the google play launch guide to see all checklists and other further details.
You can find the full official guide here.
Firs of all, register your app with App Store Connect
Register a Bundle ID
Every iOS application is associated with a Bundle ID, a unique identifier registered with Apple. To register a Bundle ID for your app, follow these steps:
- Open the App IDs page of your developer account.
- Click + to create a new Bundle ID.
- Enter an app name, select Explicit App ID, and enter an ID.
- Select the services your app will use, then click Continue.
- On the next page, confirm the details and click Register to register your Bundle ID.
Create an application record on App Store Connect
Next, you’ll register your app on App Store Connect:
- Open App Store Connect in your browser.
- On the App Store Connect landing page, click My Apps.
- Click + in the top-left corner of the My Apps page, then select New App.
- Fill in your app details in the form that appears. In the Platforms section, ensure that iOS is checked. Since Flutter does not currently support tvOS, leave that checkbox unchecked. Click Create.
- Navigate to the application details for your app and select App Information from the sidebar.
- In the General Information section, select the Bundle ID you registered in the preceding step.
For a detailed overview, see Add an app to your account.
Create a build archive
In this step, you’ll create a build archive and upload your build to App Store Connect.
During development, you’ve been building, debugging, and testing with debug builds. When you’re ready to ship your app to users on the App Store or TestFlight, you’ll need to prepare a release build.
On the command line, follow these steps in your application directory:
flutter build iosto create a release build (
flutter builddefaults to
- To ensure that Xcode refreshes the release mode configuration, close and re-open your Xcode workspace. For Xcode 8.3 and later, this step is not required.
In Xcode, configure the app version and build:
- In Xcode, open
Runner.xcworkspacein your app’s
- Select Product > Scheme > Runner.
- Select Product > Destination > Generic iOS Device.
- Select Runner in the Xcode project navigator, then select the Runner target in the settings view sidebar.
- In the Identity section, update the Version to the user-facing version number you wish to publish.
- In the Identity section, update the Build identifier to a unique build number used to track this build on App Store Connect. Each upload requires a unique build number.
Finally, create a build archive and upload it to App Store Connect:
- Select Product > Archive to produce a build archive.
- In the sidebar of the Xcode Organizer window, select your iOS app, then select the build archive you just produced.
- Click the Validate App button. If any issues are reported, address them and produce another build. You can reuse the same build ID until you upload an archive.
- After the archive has been successfully validated, click Distribute App. You can follow the status of your build in the Activities tab of your app’s details page on App Store Connect.
You should receive an email within 30 minutes notifying you that your build has been validated and is available to release to testers on TestFlight. At this point you can choose whether to release on TestFlight, or go ahead and release your app to the App Store.
For more details, see Upload an app to App Store Connect.
Release your app to the App Store
When you’re ready to release your app to the world, follow these steps to submit your app for review and release to the App Store:
- Select Pricing and Availability from the sidebar of your app’s application details page on App Store Connect and complete the required information.
- Select the status from the sidebar. If this is the first release of this app, its status will be 1.0 Prepare for Submission. Complete all required fields.
- Click Submit for Review.
Apple will notify you when their app review process is complete. Your app will be released according to the instructions you specified in the Version Release section.
For more details, see Distribute an app through the App Store.