-
Notifications
You must be signed in to change notification settings - Fork 20
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
added support for subscribe to topic , un-subscribe to topic #8
base: master
Are you sure you want to change the base?
Conversation
…ight improvement for registration flow.
@promactkaran I also added Topic support (for Android). Would you mind using the same interface to make it easier to merge both?
|
The thing is, I am not sending registration Id in my topic subscription. The registration Id is stored in a dictionary by OS itself. When I register to topic, it automatically takes the device registration ID and registers the device to specific topic. I wouldn't have to deal with storing the ID , in javascript Side. What do you suggest ? |
Ok... maybe it makes sense to have the same behaviour on Android. I could store the token in the Plugin once the registration took place. |
I just removed the need to pass the registrationId when subcribing / unsubscribing to topics. The token is now hold in the plugin once you registered with gcm. |
@scripterkaran It seems that Gonzalo has no interest in merging our improvements :-( What do you think of merging yours and mine? If you offer me a pull request I would be glad to accept it. But I would prefer the event based approach I introduced to the plugin. What do you think? |
I'll be reviewing everything today guys, I had some personal things to take On Sunday, October 18, 2015, André Kreienbring [email protected]
G.- |
This provides added support to subscribe to GCM topics.
PS: Please create a development branch so we contributors can contribute without messing the master repo.