我可以在NotificationHub Azure中通过registrationId发送通知吗?

时间:2018-11-13 17:17:21

标签: c# push-notification apple-push-notifications android-notifications azure-notificationhub

我需要向特定用户发送推送通知(例如“ Messenger”:当我向客户端发送消息时,我将发送通知以提醒用户)。

我使用Azure NotificationHub,并且需要向Android和IOS发送通知。

在我的研究中,我发现没有什么具体可言的可能。 我找到了带有相关标签的所有内容,但是我可以将标签与每个用户相关联,以便区分所有标签或具有最大限制吗?

https://docs.microsoft.com/pt-pt/azure/notification-hubs/notification-hubs-aspnet-backend-gcm-android-push-to-user-google-notification

感谢我的帮助。

1 个答案:

答案 0 :(得分:1)

  

但是我可以将标签与每个用户相关联,以便区分所有用户或具有最大限制吗?

当然,您可以将标签与每个用户相关联。我们可以从此tags获取有关document的更多信息。 Registrations可以使用包含用户ID的标签进行标记。

enter image description here

注册还允许多个标签。我们还可以使用express标签来处理它。

  

或有最大限制?

根据此link,对active devicesTag quota per installation/registration有所限制。没有有关注册或标签限制的信息。

enter image description here