android - Detect in Azure Notification Hub when an app has been uninstalled -
i need detect when application has been uninstalled, in both android , ios. purpose update table record in backend.
seems it's not exists "canonical way" detect uninstall in device side, people it's possible handling message error when publish push notification.
we use azure notification hub, class notificationhubclient, can't see value in response alert notification fail uninstalled app. gcm must return "not registered" receive "0 success" in result. can see registration of device response of notificationhubclient.getallregistrations method. in response of registrations still appear registration of device did uninstall app.
really it's possible know azure notification hub if app has been uninstalled? it's possible request firebase o apple registration ids if still installed applications
doing tests can see registrations of azure disappear 1 or 2 hours after application it's uninstalled. work in android gcm. in ios registration still appear after time.
Comments
Post a Comment