Push Notifications not working in Pega Marketing portal
Push Notification is a OOTB functionality in Pega MKT framework. We are trying to send Push Token from Pega Marketing portal. we configured App details and Google GCM details and tried to send a Push notification to Android mobile App. Our attempts are always ended up with an error message : "MismatchSenderId".
Is there any DSS configuration or .jar installation required on top of Pega MKT Framework.?
Steps to Reproduce:
Go to Pega Marketing portal --> Configuration--> settings--> Channels--> Push Notifications.
Add a "New" application details and variant information. Select "Actions" of Variant then click on "Test". a popup will come with Push Token. click on Test. expected is to get Success message. But we are getting "MismatchSenderId".
user getting "MismatchSenderId" error message
We checked the same Google Key & Sender ID details with "OneSignal"(Third party tool to send push notifications), those are working fine and we are able to send push notifications to android mobile app. But the same are not working in Pega Marketing Portal.
***Edited by Moderator Marissa to update platform capability tags***
What version of Pega Marketing are you experiencing this with?
I suspect you might not be using the correct identifying information for your app. Make sure your application ID and your google key are specified correctly. The App ID is often mis-represented by Google app developers. You might find this post helpful to get the correct detail from the app developers so you can it correctly into your app configuration in Pega Marketing.
Thanks for your reply, This was configuration issue. Device token we entered during Test was not correct. Now we are able to connect to FCM from Pega. But i got another problem with Java code in "SendNotificationToAndroid" in PushNotification Library. Its not sending message to mobiles. I tried with the Google Key and Device token in Pushtry.com and i am able to send notification to mobile app. But this function is not working as expected. I have passed the needed parameters to this function and i am not getting any value in "PushResult" out Parameter. There is some issue with the code. I have raised SR with Pega team 5 days ago, still waiting for resolution. I suspect what ever the code present in this OOTB Function is for GCM only, Not FCM. Any suggestion from you/ community members will be helpful to us.
Update : Pega OOTB code is designed to send Push Notifications via GCM only. But GCM is deprecated by Google. Pega should update the code to send via FCM. Unfortunately, there is no update on Push notifications even in Pega 8.1.