# **How to Publish a Flutter App to Android Play Store & iOS Apple Store**

Mehedi Hasan - Feb 26 - - Dev Community

Flutter is a popular framework for building cross-platform mobile apps, but publishing an app to Google Play Store and Apple App Store requires following some specific steps. In this guide, I will explain everything step by step in simple BD English, so you can publish your app without any problem.


🔹 Android App Deployment (Google Play Store)

To publish your Flutter app on the Google Play Store, follow these steps:

1️⃣ Create a Google Play Console Account

  • Go to Google Play Console
  • Sign in with your Gmail account
  • Pay the $25 one-time registration fee (Bkash/Nagad not supported, use Visa/MasterCard)

2️⃣ Prepare Your Flutter App for Release

  • Open your Flutter project and go to android/app/build.gradle
  • Change app name & package name (this is very important)
defaultConfig {
    applicationId "com.yourcompany.appname" // Change this to your package name
    minSdkVersion 21
    targetSdkVersion 33
}
Enter fullscreen mode Exit fullscreen mode
  • Update the app’s version & build number inside pubspec.yaml
version: 1.0.0+1
Enter fullscreen mode Exit fullscreen mode

3️⃣ Generate Signed APK or AAB (Recommended)

Google Play requires AAB (Android App Bundle) instead of APK. Run this command to generate the AAB file:

flutter build appbundle --build-name=1.0.0 --build-number=1
Enter fullscreen mode Exit fullscreen mode

This will generate a .aab file inside build/app/outputs/bundle/release/.

4️⃣ Upload to Google Play Console

  • Go to Google Play Console → Create New App
  • Fill in app details (name, description, category, contact email, privacy policy)
  • Upload the AAB file under “App Bundles”
  • Complete the Content Rating, Pricing & Distribution sections
  • Click on Submit for Review

Google will review your app (takes 24-48 hours, sometimes longer for new developers)


🔹 iOS App Deployment (Apple App Store)

Publishing an iOS app is a bit more complex because Apple is very strict. Follow these steps carefully.

1️⃣ Create an Apple Developer Account

  • Go to Apple Developer
  • Sign in with your Apple ID
  • Pay the $99/year fee (Visa/MasterCard required)

2️⃣ Prepare Your Flutter App for iOS

  • Open your Flutter project in Xcode
  open ios/Runner.xcworkspace
Enter fullscreen mode Exit fullscreen mode
  • Set the Bundle Identifier (like com.yourcompany.appname)
  • Set the version & build number inside pubspec.yaml
version: 1.0.0+1
Enter fullscreen mode Exit fullscreen mode

3️⃣ Generate iOS Release Build

  • Connect a MacBook (Windows not supported for iOS builds)
  • Run the following command to create an iOS build:
flutter build ios --release
Enter fullscreen mode Exit fullscreen mode

4️⃣ Upload to App Store using Xcode

  • Open ios/Runner.xcworkspace in Xcode
  • Go to Product → Archive
  • Click on Distribute App → App Store Connect
  • Upload the IPA file

Apple will review your app (usually takes 3-5 days for approval)


🔹 Important Notes Before Publishing

✅ Your app must follow Google & Apple policies or it will be rejected

✅ Make sure your privacy policy & terms of service are properly written

✅ iOS requires physical MacBook to build and upload the app

✅ Apple is very strict, so test your app properly before submission


🎉 That’s It! Now Your App is Live!

If you follow all these steps properly, your app will be published successfully in Google Play Store and Apple App Store. If you face any problem, comment below! 😃 🚀

. . . . . . .