azure-notificationhubs-xamarin icon indicating copy to clipboard operation
azure-notificationhubs-xamarin copied to clipboard

[QUERY] Duplicate installations/registrations after re-install

Open wildginger opened this issue 2 years ago • 0 comments

Hi all,

I have got my apps successfully registering and receiving notifications, I can send a test notification from Azure and it is received as expected.

But each time I uninstall the app, and re-install it, it seems to be creating a new registration in Azure Notification Hub, as when I sent a test notification again, the results say successfully sent 2 notifications. Im currently on 5 registrations, so the number of sent push notifications in Azure is going up quickly!

I am simply calling MSNotificationHub.Start(...) in FinishedLaunching()

So my questions are:

  1. Should it be creating new installations / registrations on each fresh app install?
  2. I feel I should somehow be either removing existing ones or updating them, so if so, can anyone point me in the right direction to do this?
  • OS: iOS 13 app
  • IDE : Visual Studio 2022 Mac

Thanks in advance.

wildginger avatar Jun 14 '22 20:06 wildginger