Skip to content

FR: Add method to get all subscribed topics #1431

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
tfonfara opened this issue Jun 20, 2018 · 7 comments
Open

FR: Add method to get all subscribed topics #1431

tfonfara opened this issue Jun 20, 2018 · 7 comments

Comments

@tfonfara
Copy link

Environment

  • Xcode version: Version 9.4.1 (9F2000)
  • Firebase SDK version: 5.2.0
  • Firebase Component: Messaging
  • Component version: 3.0.2

Feature Proposal

Currently it's not possible to unregister from all subscribed topics (I know there's a workaround to create a new instance id in order to do that) or to get a list of subscribed topics to add/remove subscriptions on that basis.
There's already an API to do that: https://developers.google.com/instance-id/reference/server#get_information_about_app_instances
It would be great if it would be possible to integrate that API (at least the topics part) into the SDK.

@morganchen12
Copy link
Contributor

Similar to #225, but not quite identical.

@hixfield

This comment has been minimized.

@FViscardi
Copy link

This functionality would be great.

Handling subscribed topics right now is a bit of an unnecessary hassle, as I have to keep track of it myself via firestore or shared preferences.

@charlotteliang charlotteliang self-assigned this Apr 18, 2019
@dunyakirkali
Copy link

@morganchen12 Any update?

@alzalabany
Copy link

Any update?

@halabe15
Copy link

halabe15 commented Jun 9, 2020

You can do it through GET request. Check this Stack overflow post.

@dunyakirkali
Copy link

Thnx for the link @halabe15. I'm afraid, what you've shared is more of an hack than an actual feature for the iOS SDK.

I believe that the intention of this issue is to get this feature added to the SDK.

Nevertheless thanx a lot!

@charlotteliang charlotteliang removed their assignment Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants