How to Publish Flutter App on Play Store
Build, Release and Deploy your Flutter application on PlayStore

Search for a command to run...
Build, Release and Deploy your Flutter application on PlayStore

You have been doing a lot of good jobs. And hope to post a blog about publishing an app in Appstore.
Lessons from Code, Content, and Consistency

Reliability basics: Outbox pattern + why it matters

Introducing Kafka/Redpanda + move to event-driven workflow

Connect Orders โ Inventory (first working service-to-service flow)

Inventory service + gRPC + proto contracts




android folder and replace it with android > app > src > res mip-map folders

rename our app and also the bundle and appId.pub global activate rename
pub global run rename --appname "Counter"

BundleId run the below command.pub global run rename --bundleId com.dhruvnakum.counter


key.properties file inside the android folder.
key.propertiesstorePassword=eChim2v6qKn3 '''use your password here and make sure to keep it in secret.'''
keyPassword=eChim2v6qKn3
keyAlias=upload
storeFile=<location of the key store file, such as /Users/<user name>/upload-keystore.jks>
For Windows
keytool -genkey -v -keystore c:\Users\nakum\upload-keystore.jks -storetype JKS -keyalg RSA -keysize 2048 -validity 10000 -alias uploadFor Mac / Linux
keytool -genkey -v -keystore ~/key.jks -keyalg RSA -keysize 2048 -validity 10000 -alias key

key is generated.
upload-keystore.jsk inside android > app folder.
storeFile path inside the key.properties file.storePassword=eChim2v6qKn3
keyPassword=eChim2v6qKn3
keyAlias=upload
storeFile=../app/upload-keystore.jks
[project] > android > app > build.gradle file and add the following text above the android { ... }def keystoreProperties = new Properties()
def keystorePropertiesFile = rootProject.file('key.properties')
if (keystorePropertiesFile.exists()) {
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
}

buildType{ ... } and paste the below text instead. signingConfigs {
release {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
storePassword keystoreProperties['storePassword']
}
}
buildTypes {
release {
signingConfig signingConfigs.release
}
}

futter clean to clean the previous build.flutter clean
appbundle run the below command.flutter build appbundle
.aab inside build > app > output > bundle > app-release.aab.
Now it's time to publish this app via Developer Console.


Store presence > Main store listing.

png file named playstore.playstore.png into App icon box.

Phone Screenshots section.

Main Store Listing.Category and add tags if you want to.

Production > Country / Region and then add the countries where you want to show your app.

Select App Access

Go to Ads and select YES if your app contains ADS or NO if app doesn't contain any type of ADS

Go to Content Rating. Select the category of your app.

Now go to Target audience and content



Go to News apps


app-release.abb app bundle file in App Bundle section.



Feedback and Comments are welcomed ๐
