decision-labs / gcm

A gem that helps developers send data from ruby backend servers to their Mobile applications on devices via Google Cloud Messaging (GCM).
MIT License
385 stars 61 forks source link

Sending message with notification key doesn't work #17

Closed ghost closed 9 years ago

ghost commented 9 years ago

A message sent in this format as documented in the readme doesn't work:

response = gcm.send([], {
        notification_key: "appUser-Chris-key",
        data: {score: "3x1"},
        collapse_key: "updated_score"})
kashif commented 9 years ago

ah great, you tried it out :bomb: can you let me know how you set it up so I can debug this?

ghost commented 9 years ago

@kashif what do you mean how I set it up? Check out my pull request. Let me know what you think.