Consider using instance id api to properly sync notification topics #1865
Labels
needs:triage
New issue that needs triage
resolved:stale
No recent activity on the issue or PR
source:public
Issues created by the public
Given that country changing is now allowed, the topic management code is fragile.
Instead of keeping track of which topics are subscribed to in the user db, instead go to the source of truth: https://developers.google.com/instance-id/reference/server#get_information_about_app_instances and add or remove topics based on that list.
The text was updated successfully, but these errors were encountered: