Skip to content

Commit

Permalink
Merge pull request #7432 from braze-inc/fcm-docs
Browse files Browse the repository at this point in the history
fcm docs
  • Loading branch information
internetisaiah authored May 31, 2024
2 parents 7ac9328 + 76a6560 commit 97af510
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,14 @@ Select **Add Key** > **Create new key**.

![The selected service account with the "Add Key" menu open.]({% image_buster /assets/img/android/push_integration/generate_json_credentials/select-create-new-key.png %})

Choose **JSON**, then select **Create**. Be sure to remember where you downloaded the key—you'll need it in the next step.
Choose **JSON**, then select **Create**. If you created your service account using a different Google Cloud project ID than your FCM project ID, you'll need to manually update the value assigned to the `project_id` in your JSON file.

Be sure to remember where you downloaded the key—you'll need it in the next step.

![The form for creating a private key with "JSON" selected.]({% image_buster /assets/img/android/push_integration/generate_json_credentials/select-create.png %}){: style="max-width:65%;"}

{% alert warning %}
Private keys could pose a security risk if compromised. Store your JSON credentials in a secure location—you'll delete your key after you upload it to Braze.
Private keys could pose a security risk if compromised. Store your JSON credentials in a secure location for now—you'll delete your key after you upload it to Braze.
{% endalert %}

### Step 6: Upload your JSON credentials to Braze
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,9 @@ Creating a new key will not remove your legacy ones. If you accidentally delete

![The selected service account with the "Add Key" menu open.]({% image_buster /assets/img/android/push_integration/generate_json_credentials/select-create-new-key.png %})

Choose **JSON**, then select **Create**.
Choose **JSON**, then select **Create**. If you created your service account using a different Google Cloud project ID than your FCM project ID, you'll need to manually update the value assigned to the `project_id` in your JSON file.

Be sure to remember where you downloaded the key—you'll need it in the next step.

![The form for creating a private key with "JSON" selected.]({% image_buster /assets/img/android/push_integration/generate_json_credentials/select-create.png %}){: style="max-width:65%;"}

Expand Down Expand Up @@ -153,6 +155,10 @@ If you delete your new credentials, you cannot restore them later. You'll need t

Your new credentials start working as soon as you upload them to Braze. To test them, select **Test Credentials**. If you get an error, you can always [revert your credentials](#reverting-your-credentials).

### Do I need to migrate to FCM for my unused apps or development apps?

No. However, your unused apps and development apps will continue to show a warning message asking you to migrate. To remove this message, you can either upload new credentials, or delete these apps from your workspace. If you choose to delete these apps, be sure to check with your team first in case someone is using them.

### Where can I check error messages?

You can review push notification errors in your [message activity log]({{site.baseurl}}/user_guide/administrative/app_settings/message_activity_log_tab/).
Expand All @@ -172,3 +178,7 @@ You'll continue to see this warning message if there's at least one Android app
### After migrating, how long until I send push notifications again?

After migrating, you can start sending push notifications using your new credentials right away.

### What if I created my service account using a different project than my FCM project?

If you created your service account using a different Google Cloud project ID than your FCM project ID, you'll need to manually update the value assigned to the `project_id` in your JSON file after you [create a new one](#step-6-generate-json-credentials).

0 comments on commit 97af510

Please sign in to comment.