-
Notifications
You must be signed in to change notification settings - Fork 205
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
Support for creating notification keys server-side #108
Comments
This blog post with the correct cURL requests might come in handy: https://medium.com/appunite-edu-collection/notifications-d7df385b0ff4 |
@hypesystem Isn't |
It is! Let's close this. |
Woops! Looks like I spoke too quickly. While the |
@hypesystem Oh, cool! Seems pretty easy, we need to add a function that accepts a
Where should we implement this? I think |
I think this probably calls for some better abstraction than just the I mean, it would be easy to add it to It will be significantly harder to create a new abstraction, because a lot of the code would be shared and a lot of the arguments expected would be the same in Basically, I don't know. It's a tradeoff. If you think it would be fine to add it to Sender for now, then I think we could do that 😄 |
Hello @hypesystem and @eladnava, If you would be willing to work with me, I could potentially help with this and other tasks. I submitted a pull request from SpireTeam's yodel-gcm repo a while back, but it was understandably rejected due to the fact that it was huge and basically changed a lot without explaining changes well. However, it contained a lot of functionality for handling notification key creation and management, so I may be able to at least offer a bit of help from that experience. My notification key management in yodel-gcm now seems a bit awkward after taking a fresh look, and I would like to work with you guys to come up with a more agreeable solution for node-gcm. While I wrote yodel-gcm as a quick solution for my employer, my contributions here would be personal, and I'd like to do a better job collaborating with you all as a contributor. Thanks! |
Hey @brianbowden, that sounds absolutely awesome! We would love to see and hear your thoughts 😄 |
It should be possible to create notification keys server side (used for sending user notifications). This, however, is not prioritised as highly as simply sending user notifications.
See documentation: http://developer.android.com/google/gcm/notifications.html#gen-server
The text was updated successfully, but these errors were encountered: