Mobimint

Retrieval of API JSON file – Android

< All Topics
Print

Sharing the API key is crucial as it improves app performance through app updates, strengthens app security, and streamlines app management. This help document provides detailed step-by-step instructions on how to share your API key for Android apps.

This process consists of 3 sections:

  1. Create service account
  2. Enable Play Store API
  3. Give admin access to the service account email

Create service account

  • Log in to the Google Play Console using credentials with
    OwnerPermission.
  • In a separate tab, sign in to the Google Cloud Console using the same credentials as in Step 1.
  • In the Google Cloud Console, click Select a project.

Sample Image

  • If you already have a project, you can skip this step and the next one. Otherwise, click New Project.

Sample Image

  • In the Project name field, enter Google Play Console Developer1, then click the Create button. After the project is created, refresh the page.

Sample Image

  • Select the newly created project,Google Play Console Developer1. Alternatively, you may choose an existing project.

Sample Image

  • From the hamburger menu, go to IAM & Adminand select Service Accounts.

Sample Image

  • Click CREATE SERVICE ACCOUNT.

Sample Image

  • Enter “Mobimint Mobile App Builder” as the service account name, then click Create and Continue.

Sample Image

  • Click the Select a role dropdown menu.

Sample Image

  • Choose Service Account User from the dropdown menu.

Sample Image

  • Click + ADD ANOTHER ROLE.

Sample Image

  • Click Basic,then select the Viewer role.

Sample Image

  • Click Continue to associate the selected roles.

Sample Image

  • Click DONE.

Sample Image

  • Once the service account is created, copy and save its email ID, as it will be needed in a later step. Then, click on the newly created account under Service Accounts.

Sample Image

  • Navigate to the KEYS tab.

Sample Image

  • Click ADD KEY button and then select Create new key option.

Sample Image

  • Select JSON as the key type and click Create. This will download the API key as a .json file. Save this file on your computer for use in a later step.

Sample Image

Enable Play Store API

  • In the same project, go to APIs & Services and click Enabled APIs & Services.

Sample Image

  • Click + ENABLE APIS AND SERVICES.

Sample Image

  • Search for Google Play Android Developer API in the search bar, then click the corresponding search result.

Sample Image

  • Click ENABLE button.

Sample Image

Giveadmin access to the service account email.

  • Switch back to the Google Play Console browser tab.
  • In the Users and permissions section, click Invite new users.

Sample Image

  • You will be redirected to the Invite User page. Paste the email address copied in Step 16 into the Email address field, then click the Account permissionstab.

Sample Image

  • Select Admin (all permissions) and click Invite user.

Sample Image

  • Click Send invite.

Sample Image

  • Open the Account details page from the left navigation menu.

Sample Image

  • Scroll to the bottom of the page and copy the Developer account ID. Note that this will be required during the key submission.

Sample Image

Table of Contents
Scroll to Top