Class Duplication error with Calling and Chat SDK

Krupa Maradiya 1 Reputation point
2021-08-16T05:10:25.86+00:00

I am using below SDK for calling and chat in my single project.

implementation 'com.azure.android:azure-communication-calling:1.2.0-beta.2'  
implementation 'com.azure.android:azure-communication-common:1.0.1'  
implementation 'com.azure.android:azure-communication-chat:1.0.0'  

As mentioned here If I'll add exclude group: 'com.microsoft', module: 'trouter-client-android' then I won't be able to get the realtime notification. But as per my requirement I need to get the real time notification.
Is there any way to achieve it please let me know.

Azure Communication Services
Azure Communication Services
An Azure communication platform for deploying applications across devices and platforms.
848 questions
{count} votes

1 answer

Sort by: Most helpful
  1. SnehaAgrawal-MSFT 21,426 Reputation points
    2021-08-18T03:24:20.667+00:00

    Thanks for asking question! Sorry, currently as the notice mentioned, When using Android Chat and Calling SDK together in the same application, Chat SDK's real-time notifications feature does not work.

    The product group is aware of this and exploring supporting such a feature, but as of now not aware of publicly shareable date.
    Thanks again for raising this issue.

    Further would like to understand your scenario to help to you better on this.
    If your requirement meet you can look for Event Grid.
    Check this link: Azure Communication Services as an Event Grid source - Azure Event Grid | Microsoft Learn

    Please note: Comparing to chat real-time notification, Event Grid does not support "TypingIndicator" and "ReadReceipt".


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.