Skip to content

Commit b6837fa

Browse files
authored
Add instructions to configure service account in README (#201)
1 parent 7c9dfbb commit b6837fa

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,20 @@ with:
4848
debugSymbols: app/intermediates/merged_native_libs/release/out/lib
4949
```
5050
51+
## Configure service account
52+
1. Configure service account in Google Cloud Platform
53+
1. Navigate to https://cloud.google.com/gcp
54+
1. Open IAM and admin > Service accounts > Create service account
55+
1. Pick a name and add appropriate permissions (e.g. 'owner)
56+
1. Open the newly created service account, click on `keys` tab and add a new key, JSON type
57+
1. When successful, a JSON file will be automatically downloaded on your machine
58+
1. Store the content of this file to your GitHub secrets, e.g. SERVICE_ACCOUNT_JSON.
59+
1. Add user to Google Play Console
60+
1. Open https://play.google.com/console and pick your developer account
61+
1. Open Users and permissions
62+
1. Click invite new user and add the email of the service account created in the previous step
63+
1. Grant permissions to the app that you want the service account to deploy in `app permissions`
64+
5165
## FAQ
5266
### I get the error "Package not found"
5367
Make sure you upload an apk or aab manually first by creating a release through the play console.

0 commit comments

Comments
 (0)