Visitar URL original
Subscribe to Topics... · Issue #79 · phonegap/phonegap-plugin-push · GitHub
Skip to content
This repository was archived by the owner on Sep 4, 2020. It is now read-only.
This repository was archived by the owner on Sep 4, 2020. It is now read-only.

Subscribe to Topics... #79

Closed
Closed

Description

@akreienbring

Hello,
It seems that subscribing to topics like explained here
https://developers.google.com/cloud-messaging/topic-messaging
is not implemented.

That would really be a nice enhancement... :-)

Activity

  1. akreienbring commented on Sep 7, 2015

    @akreienbring
    Author

    Thinking of contributing this functionality I just discovered that this plugin still uses gcm.jar and a API that is deprecated for more than 2 years.

    I don't think that is even possible to use the new GCMPubSub classes and the topic feature with this old library.

    Are there any plans to migrate to the new API as referenced here:
    https://developers.google.com/android/reference/com/google/android/gms/gcm/GoogleCloudMessaging
    ?

  2. macdonst commented on Oct 26, 2015

    @macdonst
    Member

    @akreienbring with 1.4.0 release I've gotten rid of the gcm.jar. Paves the wave for subscribing to topics.

  3. akreienbring commented on Oct 28, 2015

    @akreienbring
    Author

    Good to hear.. In the meantime i've contributed to another repo: gonzaloaune/GCMPushPlugin#6 (comment)

  4. macdonst commented on Oct 28, 2015

    @macdonst
    Member

    @akreienbring well 1.4.0 is now out and it no longer includes gcm.jar. We are up to date with the latest GCM libraries from Google. PR for topic functionality would be welcome.

  5. added this to the Release 1.5.0 milestone on Oct 28, 2015
  6. telemakhos commented on Nov 3, 2015

    @telemakhos

    @akreienbring is spot on. This functionality would be an awesome addition to this plugin... in many use cases PubSub style notifications are enough for the app, no need to send the regID. Any progress regarding this?

  7. sunojvijayan commented on Nov 23, 2015

    @sunojvijayan

    Hi, Can anyone please let me know if this is possible or not in the current system and if there is anyway to subscribe to multiple topics. Please let me know. Thanks in advance.

  8. macdonst commented on Nov 23, 2015

    @macdonst
    Member

    @sunojvijayan currently not supported, eyeing support for 1.5.0 release.

  9. cvsakpal commented on Nov 23, 2015

    @cvsakpal

    Hi all,
    Topic Messaging seems like an important enhancement. Is someone working on this, when is the next release expected?
    In the meantime, I'll checkout @akreienbring 's repo.

  10. jellomaster commented on Nov 23, 2015

    @jellomaster

    gcm support for ios and supporting topics for ios/android should be top of the list :)

  11. macdonst commented on Nov 23, 2015

    @macdonst
    Member

    Yup, this functionality is near the top of my to do list. I'm currently working on some exciting new functionality in order to make testing push much easier.

    If @akreienbring wants to contribute to this repo I'd be happy as the initial limitations for not supporting topics has been taken care of.

  12. marianoarga commented on Dec 2, 2015

    @marianoarga

    +1 on topic's enhancement

  13. self-assigned this
    on Dec 14, 2015
  14. added a commit that references this issue on Dec 14, 2015
  15. 5 remaining items

  16. macdonst commented on Dec 16, 2015

    @macdonst
    Member

    @cvsakpal all of the Android work is done and it is in v1.5.x branch. Still need to figure out why I can't receive notifications in the issue79 branch. Topic registration on iOS works fine.

  17. added 2 commits that reference this issue on Dec 16, 2015
  18. macdonst commented on Dec 18, 2015

    @macdonst
    Member

    Merged into master but will need to fix reception of topic messages on iOS, see issue #440

  19. added 3 commits that reference this issue on Jan 11, 2016
  20. added a commit that references this issue on Feb 24, 2016
  21. Gnaneshwar511 commented on Jul 15, 2016

    @Gnaneshwar511

    I don't know whether it is a problem with subscribing to topics or with the inability to send Notification to a topic, but I'm not able to receive them on my apple device.
    If I send it with Device Id, then the same payload is working fine. Can someone please help!

  22. adriferracuti commented on Nov 6, 2016

    @adriferracuti

    @Gnaneshwar511 in my case adding the message field (and a value) to the payload made the trick

  23. naveedahmed1 commented on Dec 11, 2016

    @naveedahmed1

    As per the below link, in order to manage topic subscriptions on the server we need Instance ID:

    https://firebase.google.com/docs/cloud-messaging/android/topic-messaging

    So that we can manage topic subscription/unsubscripton on server by following instructions mentioned here:

    https://developers.google.com/instance-id/reference/server#create_a_relation_mapping_for_an_app_instance

    Does this plugin also provides access to Instance ID? so that it could be passed it to server on registration/subscription?

  24. lock commented on Jun 4, 2018

    @lock

    This thread has been automatically locked.

  25. locked as resolved and limited conversation to collaborators on Jun 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions