Unable to remove registered devices from NotificationHub using pnsHandle by the method NotificationHubClient.DeleteRegistrationsByChannelAsync in iOS

Sachin K 0 Reputation points
2024-03-11T10:42:25.5066667+00:00

Hi,
I am having an issue to remove the registered devices from the NotificationHub using the method NotificationHubClient.DeleteRegistrationsByChannelAsync(String) in the package Microsoft.Azure.NotificationHubs v4.1.0

I have passed the token (which I used to register the device to the NotificationHub) as a parameter to this method. But I am still receiving notifications in ios device.

The target framework is ASP.NET Core 6.0

I would also like to mention about this issue also
https://github.com/Azure/azure-notificationhubs-dotnet/issues/295

Thanks & Regards

Azure Notification Hubs
Azure Notification Hubs
An Azure service that is used to send push notifications to all major platforms from the cloud or on-premises environments.
325 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,614 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,015 questions
{count} votes

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.