问题描述
所以我使用 gcm 令牌来订阅特定主题.它工作正常.但现在我再次卸载并安装了该应用程序.并且设备令牌已更改.
So I was using gcm tokens to subscribe to specific topics. It was working fine. But now I uninstalled and installed the application again. And the device token is changed.
那么现在我必须再次订阅所有主题吗?或者有什么解决办法.
So Now do I have to subscribe to all topics again? Or are there any solution for that.
谢谢
推荐答案
如果令牌被刷新",则保持主题订阅.
If the token is "refreshed" the topic subscriptions are maintained.
如果应用程序被卸载并重新安装,那么它会丢失有关其过去的所有数据,您需要重新订阅所有相关主题.
If the application is uninstalled, and installed again, then it loose all the data about its past, and you need to re subscribe all the relevant topics.
当一个应用程序被卸载时,就像用户从未安装它一样.
When an application is uninstalled, it's like the user never installed it.
全新安装只是全新安装.
A new installation is just a fresh new installation.
这篇关于刷新令牌后如何恢复主题订阅?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!


大气响应式网络建站服务公司织梦模板
高端大气html5设计公司网站源码
织梦dede网页模板下载素材销售下载站平台(带会员中心带筛选)
财税代理公司注册代理记账网站织梦模板(带手机端)
成人高考自考在职研究生教育机构网站源码(带手机端)
高端HTML5响应式企业集团通用类网站织梦模板(自适应手机端)