Configuring push notifications for Android apps
Keep the users up-to-date with various events in your business process by enabling automatic push notifications in your mobile app for Android devices.
- Set up a Google account that you can use to access Firebase.
- Create a certificate set for your app. For more information, see Creating an Android certificate set.
- FCM server key
- 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.
- 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.
- Create a Firebase project for your app.
- On the console dashboard, launch the setup workflow, and then add Firebase to your
Android app:
- Register your app in Firebase.
Important: When you register your app in Firebase, ensure that the Android package name in Firebase matches the App ID package name of your certificate in Pega Platform. - Download the
google-services.json
file, and then finish the setup workflow.Note: You can also download the JSON file at any time from the project settings in your Firebase console.
- Register your app in Firebase.
- In the Firebase console, go to the cloud messaging settings, and then copy the server key.
- In the navigation pane of App Studio, click .
- Click the Android certificate set that you want to use in your Android app.
- In the FCM Server Key field, enter the server key from the Firebase console.
- In the Google Services JSON section, click
New, and then upload the
google-services.json
file from the Firebase console. - Click OK, and then save the certificate set.
Obtain the FCM parameters:
Add the FCM parameters to the certificate set that you want to use in your Android app:
- Configuring push notifications for iOS apps
Keep the users up-to-date with various events in your business process by configuring push notification support in your mobile app for iOS devices.
- Sending push notifications with the push console
Send custom push notifications to all or specific users of your mobile app by using the push console in the mobile channel.
Previous topic Engaging mobile users with push notifications Next topic Configuring push notifications for iOS apps