SNS: Unsubscribe Disabled Endpoints Of Push Notification

0

I use AWS SDK in .NET to unsubscribe any disabled endpoint and I depend on catching EndpointDisabledException to unsubscribe it. But SDK doesn't throw the mentioned exception when I publish messages to disabled endpoints and the behavior of AWS SNS as the following:

  • My .NET App: publish message to a disabled endpoint.
  • SNS: convert endpoint's status from Disabled -> Enabled.
  • Mobile Client: No push notification is received.
  • My .NET App: publish is successful.
  • SNS: disable endpoint again.

How can I configure SNS to not enable/disable endpoints automatically?

profile picture
gefragt vor 2 Jahren170 Aufrufe
Keine Antworten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen