所以我使用 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.
这篇关于刷新令牌后如何恢复主题订阅?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!