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.

First, in order to publish to the Google Play Store, you’ll need a Google Developer account.

  • Create a Google Developer Account if you don’t already have one
  • Pay the $25 fee.
  • Provide the required information
  • Verify your account by providing a government-issued photo ID that matches the information you provided on sign-up if required.

See this guide for more information on how to sign up.

Next, you’ll need to create a Package Name for your app. This is unique to your app which identifies it inside of Google’s system. You’ll need to add it to the Google Play Console configuration in Draftbit.

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

Go 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.

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

In Step 2, you’ll grant your service account access to your Google Play Console Developer account. Click Select a role and choose Service Accounts > Service Account User. Note that typing in the filter text box won’t return the Service Accounts role - you’ll have to scroll to it.

This is an important step. Missing this step will cause a failure of auto submissions.

Select Service Account User

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. 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, 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 for future reference.

JSON Key Creation

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

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 by navigating to 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

In the appearing modal select use Google-generated key option. This is critical to allow Draftbit publish future app for you.

Choose Signing Key

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.

To add a privacy policy, navigate to your App’s Dashboard and 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

Go to Publishing page and select the Google Play Store option.

Google Play Store Settings

Enter the Package Name you created in the previous step into the Package Name field. Upload the Google Service Account Key file that you downloaded in the previous step into the Service Account field. Click the Save Configuration button

Now, you’re ready to publish your app to the Google Play Store.

Publish Dropdown

  1. Open the Publish dropdown

    Click the Publish Dropdown button from the top-right of the Builder to open the Publish dropdown.

  2. Choose Google Play Store

    Click the Publish Button button for the Google Play Store option.

  3. Start a new publish

    Enter a version name, number, and environment for your publish and then click the Start  Publish to start the publishing process.

Start Android Publish

NameDescription
Version NameA name for this version of your web app (e.g., “Initial Release”, “Major Update”, “v3”).
Version NumberThe version number assigned to this publish (e.g., “1”, “2.0”, “3.1”).
EnvironmentThe environment to publish your web app to. Only Production is supported.