How to restore topic subscriptions after refreshed

2019-01-09 17:01发布

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.

Thank you

1条回答
【Aperson】
2楼-- · 2019-01-09 17:45

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.

查看更多
登录 后发表回答