Google Play Services API Key
To enable Android app resubmissions, you must create an API key.
PLEASE NOTE: The Google Play Services API Key is a different file to your google-services.json file. The google-services.json file created in our Android Push Notifications doc is used within your app to connect to firebase and facilitate Android Push Notifications and is normally labelled google-services.json. The Google Play Services API Key is used on our build server to facilitate sending your completed app to Google Play and will usually take the form of a file name like "api-1234567890.json". Mixing up these two files will cause errors.
Login to the Google Play Console.
Click Setup, then API Access. If you already have an API project you can link it but we'll create a new one in this tutorial
On the API access page, scroll down to Service accounts and click Create a new service account. Follow the instructions to get to Google Cloud Platform
On the Google Cloud Platform, click + CREATE SERVICE ACCOUNT on the top menu bar
A 3-step Create service account page comes up, where you have to provide a Service account name first. A Service account ID is automatically generated based on the Service account name you typed.
Call it AppPresser Deploy, and click Create.
Click the role field, select Project => Owner (or any role), and click continue.
Leave the other fields blank, and click Create Key.
You land back on the API Access page of the Google Play Console where you can create a key to your new service account. Bitrise will use the key to authenticate as the service account. Click the ellipsis next to the new service account and select Manage keys from the options.
You are directed to the KEYS page of the Service accounts. Click the ADD KEY dropdown and select Create new key option.
Choose JSON format, and click Create.
Save the key to your computer and also send it to us.
Once done you should land back on the API Access Page and you can see the new service account. Click Grant Access to give this service account access to your apps:
Ensure View app information, Create & Edit draft apps & all 3 Release Management checkboxes are checked under the app permissions.
Click Add User.
You're done! Make sure to send us the key and we'll get you setup for automated Google Play Store resubmissions.