title: Why isn't .aab file added -free-release or -pro-release.apk suffix automatically when I use the same build.gradle in Android Studio?
body: <p>I use the following build.gradle to generate .apk files, the result will be <em>MagnifyingGlass-V1.01-free-release.apk</em> for <strong>free</strong> edition and  <em>MagnifyingGlass-V1.01-pro-release.apk</em> for <strong>pro</strong> edition. <em>-free-release</em> or <em>-pro-release</em> is added to filename as suffix automatically by Android Studio 3.4.2.</p>
  
  <p>I try to use the same  build.gradle to generate .aab files,  I find the result is <em>MagnifyingGlass-V1.01</em> for <strong>free</strong> and  <em>MagnifyingGlass-V1.01</em> for <strong>pro</strong>, there are same, why?  <em>-free-release</em> or <em>-pro-release</em> isn't added to filename as suffix automatically by Android Studio 3.4.2. </p>
  
  <p><strong>Added content:</strong></p>
  
  <p>I generated different edition .apk and .aab using Android Studio just like <em>Image 1</em>.</p>
  
  <p><strong>build.gradle</strong></p>
  
  <pre><code>android {
      compileSdkVersion 28
      flavorDimensions "default"
  
      defaultConfig {
          applicationId "info.dodata.magnifyingglass"
          minSdkVersion 21
          targetSdkVersion 28
          versionCode 2
          versionName "1.02"
          archivesBaseName = "MagnifyingGlass-V" + versionName
      }
  
      productFlavors {
          free {
              applicationId "info.dodata.magnifyingglass"
          }
  
          pro {
              applicationId "info.dodata.magnifyingglass.pro"
          }
      }
  
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
              buildConfigField "boolean", "IsDebugMode", "false"
          }
  
          debug {
              buildConfigField "boolean", "IsDebugMode", "true"
          }
      }
  
  }
  </code></pre>
  
  <p><strong>Image 1</strong>
  <a href="https://i.stack.imgur.com/4sn3O.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4sn3O.png" alt="enter image description here"></a></p>