Skip to content

Commit c1b3b0d

Browse files
committed
Add uninstall info to FAQ
1 parent cf1b7c0 commit c1b3b0d

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

articles/notification-hubs/notification-hubs-push-notification-faq.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ metadata:
1010
ms.service: notification-hubs
1111
ms.tgt_pltfrm: mobile-multiple
1212
ms.topic: faq
13-
ms.date: 06/05/2023
13+
ms.date: 04/24/2024
1414
ms.author: sethm
15-
ms.reviewer: thsomasu
15+
ms.reviewer: heathertian
1616
ms.lastreviewed: 11/13/2019
1717
title: "Push notifications with Azure Notification Hubs: Frequently asked questions"
1818
summary: |
@@ -181,6 +181,15 @@ sections:
181181
Is there audit log capability?
182182
answer: |
183183
Yes. All Notification Hubs management operations update the Azure Activity Log to which is exposed in the [Azure portal](https://portal.azure.com). The Azure Activity Log offers insights into the operations performed on resources in your subscriptions. Using the Activity Log, you can determine the what, who, and when for any write operations (PUT, POST, DELETE) made for the resources in your subscription. You can also understand the status of the operations and other relevant properties. However. the Activity Log does not include read (GET) operation.
184+
185+
- question: |
186+
Does Notification Hubs detect uninstallation for iOS or Android?
187+
answer: |
188+
There are two ways to handle this. If you stored the device as a `Registration`, the first time you send to that registration and the PNS responds with an error status code that indicates that the device is not valid, it's deleted from your notification hub.
189+
190+
If your devices are stored using the `Installation` APIs, they are not deleted in the scenario above. This decision was made to preserve tags and other metadata about a particular user that might be relevant if the user reinstalls.
191+
192+
For both registrations and installations, you can set an expiration so that the device is automatically cleaned up at a given time. A common pattern is to have your client application update that expiration date once a day to move it back as long as the user is using your application.
184193
185194
- name: Monitoring and troubleshooting
186195
questions:

0 commit comments

Comments
 (0)