azure-notificationhubs-xamarin
azure-notificationhubs-xamarin copied to clipboard
[QUERY] Duplicate installations/registrations after re-install
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:
- Should it be creating new installations / registrations on each fresh app install?
- 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.