是否确定刷新到期日期每发送通知的时间? [英] Is it OK to refresh Expiration Date every time to send notification ?

查看:263
本文介绍了是否确定刷新到期日期每发送通知的时间?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于报名的截止时间为90天。

Since a registration's expiration time is 90 Days.

所以我打算先检查每一个关心设备/注册发送任何通知之前。
因为我不希望保留在服务器上任何东西。

So I plan to check first for every concern devices/registration before sending any notification. Because I don't want to keep anything on server.

不过,我不知道这是否是好主意
是否很慢为许多设备呢?

However, I'm not sure if it's good idea to do Is it slow to do for lots devices ?

另外,我无法找到一个方法来设置任何报名截止时间
所以,发送给过期的设备时,我从来没有见过的结果?

Also, I can not find a way to set Expiration time of any registration So I've never seen result when sending to expired device ?

任何人都可以提出?

推荐答案

共同推荐的方法是刷新每一个应用程序的注册开办在每个记录<一个href=\"https://azure.microsoft.com/en-us/documentation/articles/notification-hubs-registration-management/\" rel=\"nofollow\">https://azure.microsoft.com/en-us/documentation/articles/notification-hubs-registration-management/.这确保了通知集线器保持由设备PNS提供的最新令牌。

the common recommended approach is to refresh registration on every app start-up per documented at https://azure.microsoft.com/en-us/documentation/articles/notification-hubs-registration-management/. This ensures that Notification Hubs holds the most recent token provided by the device PNS.

这篇关于是否确定刷新到期日期每发送通知的时间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆