Issue with AzureCommunicationChat - Unwanted Push Notifications for the Sender

Mattia La Spina 0 Reputation points
2024-01-16T15:28:42.1733333+00:00

Hi, We are currently integrating AzureCommunicationChat into our iOS and Android applications and are facing issues with push notifications using Azure Notifications Hub. We would appreciate any help or suggestions you can provide. The problem arises when a user sends a chat message or creates a new chat thread—both the sender and the recipient receive a push notification. However, the sender should not be expecting or receiving this push notification. We have attempted to intercept the push notification to prevent it from displaying when the app is in the foreground.

Unfortunately, this solution only works if the user logs in from a single device, which is not our case. Consequently, the sender is receiving the push notification on other devices. Does anyone have any ideas or suggestions to address this undesired behavior?

We appreciate your assistance in advance. Best regards,
Mattia La Spina

Azure Communication Services
Azure Communication Services
An Azure communication platform for deploying applications across devices and platforms.
877 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Grmacjon-MSFT 18,216 Reputation points
    2024-01-23T21:35:43.1266667+00:00
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.