Hi Team,
We are currently using the following server-side code to send Mobile Push Notifications in Creatio:
var userConnection = this.Get<UserConnection>("UserConnection");
var pushNotification = new PushNotification(userConnection);
Dictionary<string, string> additionalData = new Dictionary<string, string>();
additionalData.Add("entityName", entityName);
additionalData.Add("recordId", recordIdStr);
pushNotification.Send(sysAdminUnitId, title, message, additionalData);
On the mobile side, we are using the standard:
Terrasoft.configuration.PushNotificationReceiver
Now we have a requirement to delete or cancel a previously sent push notification based on:
For example:
When a record is approved or completed, the related push notification should be removed from the mobile device.
However, we understand that Push Notifications are not stored in a database table like System Notifications.
Could someone please clarify If there is a supported way to cancel or remove a specific mobile push notification?
Any guidance or best practice would be greatly appreciated.
Thank you!