Google Play Store Deployment with Codemagic

Teta integrates Codemagic, allowing you to deploy apps directly to Google Play Store.

Authentication comprises of following steps:

Prerequisites

1. Creating App on Google Play Store

To create an app on Google Play Store:
  • Open the Google Play Console.
  • Click on the Create App button at the top right side of your screen.
  • Enter the App Name.
  • Select the App and choose whether the app is Free or Paid.
  • Accept the Declarations.
  • Click Create App at the bottom.

2. Set up your App

In order to successfully deploy the app, you must fill all the app details required by the Google Play Store.
To fill in the app details:
  • Open the Google Play Console.
  • Select your newly created app from the list below.
  • In Dashboard, scroll down to the Set up your app section, click on the view tasks.
  • Click on each task and provide the app information.

3. Add your Service Account Credentials to Teta

To add the Service Account Credentials (downloaded at the beginning in the prerequisites) on Teta:
  • Copy what is inside the file.
  • Open your Teta project.
  • Navigate to Settings and scroll down to the Play Store section.
  • Paste the Service Account Credentials into the box labeled Play Store Credentials File.

4. Deploy to the Google Play Store

To enable Teta to deploy your app to Google Play Store on your behalf, you have to first get the .AAB file and upload it to the Internal Testing Track on Google Play Store.
Once the Internal Testing track is ready (with .AAB file), Teta can handle the subsequent releases.
Please follow these steps to deploy:
  • From Teta, navigate to the Tool Bar.
  • Select the last icon and a popup will appear.
  • Select Send and a loading pop-up will appear.

⚠️

Please note: It can take a few minutes for this request to process.
  • Once this step is complete, your popup will change to Build success.

4.1 Getting the AAB (App Bundle) File

To get the AAB file:
  • Open Codemagic and select Builds (in the menu on the left of the screen).
  • Find your build and Select it.
  • Select Artifacts, click the .AAB file to download.

🚨

You need to get the AAB file only for the first time.

4.2 Creating Testing Track

To create the testing track:
  • Open the Google Play Console.
  • Select your app from the list below.
  • From the left side menu, select the Testing and then select the Internal testing.
  • Click on the Create new release at the top right side of your screen.
  • Upload the App Bundle i.e .AAB file.
  • Enter the Release Details.
  • Click Save and the Review Release.
  • Click Start rollout to Internal testing and then Rollout.
  • Move to the Testers tab and add some users to test your app.
  • Click Save changes.

⚠️

Please note: It can take a few minutes for this request to process.

  • Once this step is complete, your popup will change to Build success.

4.3 Deploy to Production

To deploy your app to production:
  • Open the Google Play Console.
  • Select your app from the list below.
  • From the left side menu, select the Testing and then select the Internal testing.
  • Under the Releases section, find and click on the Promote Release dropdown.
  • Select the Production. This will create the Production track and you can continue to release your app from there onwards.