Getting Started - Configuring an Android (Google Play) app
- Package name
- License Key
- Service account credentials
- Real-time developer notifications
The Package name uniquely identifies your app in the Play Store.
To find your Package name, first navigate and login to the Google Play Developer Publisher Console, then navigate to All applications.
You will find your Package name in the list of applications beneath the app’s name.
The license key is used to verify the purchase signature when a new purchase is made.
To find your License key, first navigate and login to the Google Play Developer Publisher Console, then navigate to All applications and select your app.
Click Development tools on the left, then click Services & APIs.
You will find your License key in the Licensing & in-app billing section.
Service account credentials
The service account credentials is a JSON file containing a private key used for authenticating with the Google Play Developer API.
To create a service account, first navigate and login to the Google Play Developer Publisher Console - API access page.
You will need a linked Google Play Android Developer project, if you don’t already have a linked project, click the Create new project button.
Next step is to create a service account, click the Create service account button and read the instructions carefully.
It will guide you to navigate to the Google API Console to create your service account there.
Don’t click Done until you have created your service account in the Google API Console.
Once in the Google API Console click on Create service account.
Give the service account a descriptive name, we recommend naming it Mbaasy.
Select Owner from Project role > Project > Owner.
Select Furnish a new private key and ensure JSON is selected, then click Save.
A .json file will automatically download, keep this file safe as it contains your private key.
Once downloaded, return to your Google Play Console tab, now you can click Done.
You will now see your new service account in the Service accounts section.
Click on the Grant access button and a new page will open. Select Finance from Role and ensure both View app information and View financial data are checked.
Click Add user and you’re done.
Real-time developer notifications
Google Play can send real-time developer notifications when subscription entitlements change. Every Google Play App registered with Mbaasy come furnished with a unique Google Cloud Pub/Sub Topic, making the process as simple as copying the Pub/Sub topic from the Mbaasy App Publisher Console > Apps > [App] > Settings > Play Store settings page and pasting it on the Google Play Developer Publisher Console > Apps > [App] > Development tools > Services & APIs page in the Real-time developer notifications section.
This will ensure Mbaasy stays up-to-date with any changes made to your subscriptions.