> For the complete documentation index, see [llms.txt](https://mobiledocs.themeparrot.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mobiledocs.themeparrot.com/woocommerce-mobile-app/bookstore/release/publish-to-google-play.md).

# Publish to google play

#### Adding a launcher icon

* To customize the app icon, you might want to open the <mark style="color:orange;">assets/icon/logo.png</mark> file and replace your app icon.
* Then cross-check the file image name in the **pubspec.yaml**

```
flutter_icons:
  android: true
  ios: true
  image_path: "assets/icon/logo.png"
```

* Then run the following command in your terminal

```
$flutter pub run flutter_launcher_icons:main
```

* After successfully creating the icon you will get the following message

```
  ════════════════════════════════════════════
     FLUTTER LAUNCHER ICONS (v0.8.0)                               
  ════════════════════════════════════════════
• Creating default icons Android
• Overwriting the default Android launcher icon with a new icon
• Overwriting default iOS launcher icon with new icon

✓ Successfully generated launcher icons
```

#### Reviewing the app manifest <a href="#reviewing-the-app-manifest" id="reviewing-the-app-manifest"></a>

* Review the default App Manifest file, AndroidManifest.xml, located in <mark style="color:orange;">\[project]/android/app/src/main</mark> and verify that the values are correct, especially the following:

**Appname**

* Edit the `android:label` in the `application` tag to reflect the final name of the app.

**Change the App bundle ID**&#x20;

* Change the package name in your `AndroidManifest.xml`
* Open the <mark style="color:orange;">\[project]/android/app/src/main/AndroidManifest.xml</mark> and change the package name **com.bookstore.book** into your bundle Id

```
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.bookstore.book">
```

* Open the <mark style="color:orange;">\[project]/android/app/build.gradle</mark>  and under the defaultConfig change the applicationId  **com.bookstore.book** into your applicationId

```
applicationId "com.bookstore.book"
```

* Open the <mark style="color:orange;">\[project]/android/app/src/debug/AndroidManifest.xml</mark> and change the package name **com.bookstore.book** into your bundle Id

```
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.bookstore.book">
```

* Open the <mark style="color:orange;">\[project]/android/app/src/main/kotlin/com/example/appname/MainActivity.kt</mark> and change the package name **com.bookstore.book** into your package name

```
package com.bookstore.book
```

* Open the <mark style="color:orange;">\[project]/android/app/src/profile/AndroidManifest.xml</mark> and change the package name **com.bookstore.book** into your bundle Id

```
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.bookstore.book">
```

#### Building the app for release <a href="#building-the-app-for-release" id="building-the-app-for-release"></a>

You have two possible release formats when publishing to the Play Store.

* App bundle (preferred)
* APK

#### Build an app bundle

* Enter cd \[project]
* Run **flutter build appbundle**
* The release bundle for your app is created at **/build/app/outputs/bundle/release/app.aab**

#### Build an APK

From the command line

* Enter cd \[Project]
* Run **flutter build apk**
* Now we have our release APK ready for the Google Play Store.
* To release the app to the play store kindly follow this [`instructions`](https://play.google.com/console/about/guides/releasewithconfidence/)

#### Publishing to the Google Play Store
