Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Android Push Notifications do not generate

SA-57128

Summary



Android Push Notifications do not generate while using the Google Cloud Platform (GCP) services. The mobile devices register with the Google Cloud Messaging (GCM) and send token to Pega. When a push is triggered, the devices are not notified.


Error Messages



[FS:127.0.0.1](ortDefinitionListSpecification) INFO  pegaUserID - Requested result count is equal to the MAX VALUE of an Integer
[FS:127.0.0.1](ations.AggregatingPushNotifier) ERROR pegaUserID - Can't send push notification to GCM server. The reason is: 'Could not post JSON requests to GCM after 4 attempts'


Steps to Reproduce

  1. Setup Android certificate with Push Notifications
  2. Build APK for Android
  3. Install APK
  4. Grant permissions to the Android device for notifications
  5. Use the Push Notification Test from Channels and Interfaces (using the mobile build used in step 2)


Root Cause

GCP services are accessible through Firebase.


Resolution



Perform the following local-change:
  1. Create a server key through Firebase
  2. Use the Legacy server key while updating the Pega certificate ruleset 


 

 

Published August 19, 2019 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us