gcm_on_rails icon indicating copy to clipboard operation
gcm_on_rails copied to clipboard

fix bug with invalid json being generated

Open greg-barnett opened this issue 12 years ago • 1 comments

This fixes a bug where the JSON being sent to Google was missing 2 attributes. Google would return a status code of 400, indicating there was a problem with the JSON. Note: I haven't tested the case where Notification.data is nil.

greg-barnett avatar Oct 24 '12 22:10 greg-barnett

@dondeng Can you merge this pull request? I tried his branch and the 400 error did go away.

amir20 avatar Dec 09 '12 17:12 amir20