Skip to content

Commit f02547d

Browse files
authored
#1040 [google-credentials] suggest updating Appfile with credentials JSON filepath
2 parents 251fa17 + d1d5d2a commit f02547d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/includes/google-credentials.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,10 @@ Tip: If you see Google Play Console or Google Developer Console in your local la
1818
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**.
1919
1. Click **Invite user** to finish.
2020

21-
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.
21+
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):
22+
23+
```ruby
24+
json_key_file("path/to/your/play-store-credentials.json")
25+
package_name("my.package.name")
26+
27+
The path is relative to where you normally run `fastlane`.

0 commit comments

Comments
 (0)