Skip to content

Android Publishing (Cloud)

Publish your app to Google Play Store with one click

Draftbit supports publishing your app to the Google Play Store. In order to do this, you’ll need to complete a few setup steps and provide us with some information. This guide details those steps.

The package name of an Android app uniquely identifies your app on the device, in Google Play Store, and in supported third-party Android stores.

The package name should use the reverse-dns name structure. For example, if the domain you will use for this app is example.com, set your package name to com.example.appname.

Once you choose your desired package name, add it to the Build Configuration section of your Google Play Store Project Settings in Draftbit.

Build Configuration

Google Play Store requires each app to be assigned a status when created. You can set that in the Build Configuration section of your Google Play Store Project Settings in Draftbit.

Release Status Setting

Creating a Google Play Store Developer Account

Section titled “Creating a Google Play Store Developer Account”

To publish to the Play Store, you’ll first have to create a Google Play Store Developer account. You can do so here.

You’ll need to create an App in your Google Play Console in order to upload Draftbit app binaries.

To do this:

  • Go back to your Google Play Console and navigate to the All Apps page, then click the Create app button in the upper right.

Open Google Play Console

  • Select Default language, App or game, Free or paid, fill in the App name input and click Create app in the bottom right.

Create App Setup

  • You’ll be redirected to a new page, Dashboard, where you can fill in all information about your application. This step can be done later if you prefer.

In order for Draftbit to publish builds to your Google Play Console, you’ll need to create a Google Service Account Key and upload it to your Draftbit account.

To do this:

Enable Google Play Android Developer API

  • In the upcoming page ensure that you have selected the project you have recently created and then click on Enable button.
  • Now select Credentials tab and click Create Credentialsbutton. From the dropdown menu select Service Account option.

Create Service Account

  • You will be directed to IAM & Admin page.
  • In Step 1, enter a Service account name. Pick a name that makes it easy to identify that this account is for the Google Play Store.
  • A “Service account ID” will be added automatically, but you can edit to be whatever you like.
  • Copy the email address given when you have entered the Service account name and click on Create and Continue button.

Service Account Details

Select Service Account User

  • The the third step is optional, you can leave it as it is and click Done to continue.

Service Account Details Complete

  • You will be navigated back to APIs & Services page.
  • You’ll now select the service account you have created here and the page will be directed to Service Accounts automatically.

Registered Service Accounts

  • In the navigated page, you’ll now need to select Keys from the options button for your newly created Service Account.
  • Select Create new key

Service Account Manage Keys

  • Select JSON and then click Create. Download the .json file and store it in a safe place.

JSON Key Creation

Adding your Google Service Account Key to Draftbit

Section titled “Adding your Google Service Account Key to Draftbit”
  • In the Draftbit builder, open your Draftbit Google Play Store Settings and upload the JSON file that was generated when you created your new Service Account Key.

Upload Service Account Key

Setting up Account permissions in Google Play Console

Section titled “Setting up Account permissions in Google Play Console”
  • Now in the Google Play Console go to the Users and permissions page and select Invite new users option.

Manage Users

  • Paste the copied email address at the beginning of the key generation process and then select the account permissions.
  • In Account permissions, you should choose Admin for enabling all the permissions. Then click Invite User.

Account Permissions

Uploading your First Android App Binary (.aab)

Section titled “Uploading your First Android App Binary (.aab)”

Now that you have a successful build , you would need to submit it. When submitting your Android app to Google Play Store for the first time, Google requires that you manually upload it in the Google Play Console. As a result, when you first request an Android publish from Draftbit for a new app, we’ll send you your app binary (.aab) and you’ll need to upload it via your Google Play Console account. Future publishes for that app will be uploaded automatically by Draftbit

  • Start on your App’s Dashboard. Click on Testing in the left-hand sidebar, then select Internal testing.

Internal Testing

  • Click the Create new release button

Create New Release

  • App signing by Google Play.

App Integrity

Choose Signing Key

  • In the appearing modal select use Google-generated key option. This is critical to allow Draftbit publish future app for you.
  • Then, enter your Release name, enter any relevant Release notes and click Review release.

Submitting Release

  • You’ll then be navigated to the Review summary view. At the top, you’ll see the Errors section. If there are errors, click Show more to view the details.

Google requires that all apps in the Play Store have an associated Privacy Policy. If you don’t have one, you may have noticed a resulting error when you uploaded your binary/.aab file the first time.

Here’s how to add one:

  • Return your App’s Dashboard in the Google Play Console.
  • In the left-hand sidebar, click App content. You’ll see a Privacy Policy section at the top of that page - Click Start in that section.

App Content

  • Enter your Privacy Policy link in the prompt and click Save

Privacy Policy Form

  • Navigate back to the Internal testing page and click the Edit button for your App. You should no longer see the Privacy Policy error on the Review Summary page for your App.
  • On your Play Console account go to the Internal testing page by clicking on Testing > Internal testing.
  • In the upcoming page select the Testers tab.

Internal Testing Testers

  • Under “Testers,” you are able to create an email list for testers.

Create Email List

  • Enter a list name and add email addresses you wish to add. You can also upload CSV file that includes listed testers. Then select Save changes, then Create.

Add Testers

  • In the “Testers” tab, you can select the user lists you want to test your release.
  • In the below, to gather feedback from testers, you can provide a feedback URL or email address.
  • Copy the shareable link to share the release with testers and save the changes

Testers Tab

Shareable Link