How to Configure push notifications for Android apps in pega mobile applications.

How to Configure push notifications for Android apps in pega mobile applications.

@SudhaV17184692

You configure push notification support for Android apps by obtaining and adding the following Firebase Cloud Messaging (FCM) services parameters to your Android mobile certificate set:

Firebase service account private key file
The key that the Pega Platform server uses to authenticate with the FCM services.
Google Services JSON
A JSON Configuration file for FCM-based projects.
##

Obtain the FCM parameters:

  1. Go to https://firebase.google.com, sign in to your Firebase account, and then access the Firebase console.

    For more information about managing projects in Firebase, go to the Firebase documentation website.

  2. Create a Firebase project for your app.

  3. On the console dashboard, launch the setup workflow, and then add Firebase to your Android app:

  4. Register your app in Firebase.

  5. Download the google-services.json file, and then finish the setup workflow.

  6. In the Firebase console, generate a private key file for your service account:

    1. In the Firebase console, open Settings > Service Accounts.
    2. Click Generate New Private Key and then click Generate Key.
    3. Securely store the downloaded JSON file that contains the private key.
  7. Add the FCM parameters to the certificate set that you want to use in your Android app:

  8. In the navigation pane of App Studio, click Settings > Mobile certificates.

  9. Click the Android certificate set that you want to use in your Android app.

  10. In the Firebase service account field, click New and then upload the private key file for your service account that you generated in Step 4. or select a previously uploaded file from the drop-down list.

  11. In the Google Services JSON section, click New, and then upload the google-services.json file from the Firebase console.

  12. Click OK, and then save the certificate set.

@SudhaV17184692

Please follow this link to configure the Push notification

Please note:

  1. If you’re running between 8.6.6 to 8.8,4, then you need to apply a hot fix for Push notifications to work. i
  2. f you’re running below 8.6.6, then it requires the platform upgrade.

Google Firebase Cloud Messaging (FCM) for Android requires a new protocol for sending push notifications to Android mobile devices. To support this new Google security standard, Pega includes support in the most recent Pega Platform™ releases and provides the required hotfixes for supported Pega Platform™ versions.

Google will no longer support the Legacy API for Push Notifications on June 21, 2024.

Note: This update does not affect push notification support for Apple devices, such as mobile apps that run on iOS or iPad devices.

All currently supported Pega Platform releases.

These versions support push notifications to Android mobile devices:

  • Pega Platform™ '24.1
  • Pega Platform™ '23.1.2
  • Pega Platform™ 8.8.5

For estimated release dates, see the Pega Infinity Patch Calendar.

Hotfixes are available for the following versions:

  • Pega Platform™ '23.1.1 - HFIX-B457
  • Pega Platform™ 8.8.4 - HFIX-B456
  • Pega Platform™ 8.8.3 - HFIX-B1525
  • Pega Platform™ 8.7.6 - HFIX-B455
  • Pega Platform™ 8.6.6 - HFIX-B333