From 20fe07de11a020bf896d0f9fb13dc947a6c5719b Mon Sep 17 00:00:00 2001 From: Nasser Amini Date: Sat, 29 Jun 2024 13:58:04 +0330 Subject: [PATCH] docs: update readme --- README.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f4387a6..1d180ec 100644 --- a/README.md +++ b/README.md @@ -1222,7 +1222,7 @@ Adtrace requires an FCM HTTP v1 API private key to connect to Google FCM. 7. Select **+ Add Permissions**. 8. In the **Enter property name or value** field, enter`cloudmessaging.messages.create` and select it from the search results. -9. Check the `cloudmessaging.messages.create` option andselect **Add**. +9. Check the `cloudmessaging.messages.create` option and select **Add**. 10. Select **Create**. ##### **2. Create a service account** @@ -1245,6 +1245,22 @@ search results. Finally, the private key is downloaded as a **JSON** file to your computer and upload it on AdTrace panel. +final json file is similar to the following: +```json +{ + "type": "service_account", + "project_id": "app_name", + "private_key_id": "some_private_key", + "private_key": "-----BEGIN PRIVATE KEY-----\nMIIEvAI-some-other-characters-1aFkXHP5t/xo7Q==\n-----END PRIVATE KEY-----\n", + "client_email": "adtrace-uninstall-service-acco@app_name.iam.gserviceaccount.com", + "client_id": "6152715792181423123124", + "auth_uri": "https://accounts.google.com/o/oauth2/auth", + "token_uri": "https://oauth2.googleapis.com/token", + "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs", + "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/adtrace-uninstall-service-acco@app_name.iam.gserviceaccount.com", + "universe_domain": "googleapis.com" +} +``` #### Push token