Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Name:
interface
Value:
Amplify has re-imagined the way frontend developers build fullstack applications. Develop and deploy without the hassle.

Page updated Apr 29, 2024

Set up push notification services

Setting Up FCM for Push Notifications

Push notifications for Android apps are sent using Firebase Cloud Messaging (FCM). Before you can send push notifications to Android devices, you must perform the following steps:

Next, you will need to create your service account key (json file):

  • Open the Firebase console.
  • Choose your Firebase project.
  • Select the gear icon located in the top left hand corner of your screen, then select Project settings.

image

  • Select the Service accounts tab.
  • Select Firebase Admin SDK in the sidebar
  • Click Generate new private key
  • Keep the downloaded service account key (json file) safe. You will need to provide the path to the CLI.

Return to Provisioning resources through CLI for instructions on providing the service account key (json file).

Handling FCM Push Notifications

Amazon Pinpoint campaigns can take one of three actions when a user taps a notification: Open your app, Go to a URL, or Open a deep link. Follow these instructions to enable your app to open deep links.