Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update google-credentials.md #1184

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions docs/includes/google-credentials.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
**Tip:** If you see Google Play Console or Google Developer Console in your local language, add `&hl=en` at the end of the URL (before any `#...`) to switch to English.

1. Open the [Google Play Console](https://play.google.com/console/)
1. Click **Account Details**, and note the **Developer Account ID** listed there
1. Click **Setup** → **API access**
1. Click the **Create new service account** button
1. Follow the **Google Cloud Platform** link in the dialog, which opens a new tab/window:
2. Note the name of the **Linked project** under the **Google Cloud Project** heading
3. Click the **Create new service account** button
4. Follow the **Google Cloud Platform** link in the dialog, which opens a new tab/window:
1. Click the **CREATE SERVICE ACCOUNT** button at the top of the **Google Cloud Platform Console**
1. Verify that you are on the correct Google Cloud Platform Project by looking for the **Developer Account ID** from earlier within the light gray text in the second input, preceding `.iam.gserviceaccount.com`. If not, open the picker in the top navigation bar, and find the one with the **ID** that contains it.
1. Verify that you are on the correct Google Cloud Platform Project by looking for the name of the **Linked project** from earlier in the top left portion of the header, just right of the **Google Cloud** title. If not, open the picker in the top navigation bar, and it from the dropdown.
1. Provide a `Service account name` and click **Create**
1. Click **Select a role**, then find and select **Service Account User**, and proceed
1. Click the **Done** button
Expand All @@ -15,10 +15,10 @@
1. Click **ADD KEY** -> **Create New Key**
1. Make sure **JSON** is selected as the `Key type`, and click **CREATE**
1. Save the file on your computer when prompted and remember where it was saved to
1. Return to the **Google Play Console** tab, and click **DONE** to close the dialog
1. Click on **Grant Access** for the newly added service account at the bottom of the screen (you may need to click **Refresh service accounts** before it shows up)
1. Choose the permissions you'd like this account to have. We recommend **Admin (all permissions)**, but you may want to manually select all checkboxes and leave out some of the **Releases** permissions such as **Release to production**
1. Click **Invite user** to finish
5. Return to the **Google Play Console** tab, and click **DONE** to close the dialog
6. Click on **Grant Access** for the newly added service account at the bottom of the screen (you may need to click **Refresh service accounts** before it shows up)
7. Choose the permissions you'd like this account to have. We recommend **Admin (all permissions)**, but you may want to manually select all checkboxes and leave out some of the **Releases** permissions such as **Release to production**
8. Click **Invite user** to finish

You can use [`fastlane run validate_play_store_json_key json_key:/path/to/your/downloaded/file.json`](https://docs.fastlane.tools/actions/validate_play_store_json_key/) to test the connection to Google Play Store with the downloaded private key. Once that works, add the path to the JSON file to your [Appfile](/advanced/Appfile):

Expand Down