{"action":"created","issue":{"url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/issues/518","repository_url":"https://api.github.com/repos/phonegap/phonegap-plugin-push","labels_url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/issues/518/labels{/name}","comments_url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/issues/518/comments","events_url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/issues/518/events","html_url":"https://github.com/phonegap/phonegap-plugin-push/issues/518","id":127017476,"number":518,"title":"[android] Inbox and action not appear in notification","user":{"login":"Xwalk-Company","id":9979292,"avatar_url":"https://avatars.githubusercontent.com/u/9979292?v=3","gravatar_id":"","url":"https://api.github.com/users/Xwalk-Company","html_url":"https://github.com/Xwalk-Company","followers_url":"https://api.github.com/users/Xwalk-Company/followers","following_url":"https://api.github.com/users/Xwalk-Company/following{/other_user}","gists_url":"https://api.github.com/users/Xwalk-Company/gists{/gist_id}","starred_url":"https://api.github.com/users/Xwalk-Company/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xwalk-Company/subscriptions","organizations_url":"https://api.github.com/users/Xwalk-Company/orgs","repos_url":"https://api.github.com/users/Xwalk-Company/repos","events_url":"https://api.github.com/users/Xwalk-Company/events{/privacy}","received_events_url":"https://api.github.com/users/Xwalk-Company/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/labels/android","name":"android","color":"BFD4F2"},{"url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-01-16T11:12:46Z","updated_at":"2016-07-13T07:42:17Z","closed_at":null,"body":"Hello,\r\nI tried to add some options in the payload. Some but not all work. For example in my code GCM node-js I try to send a notification with an inbox style, summary text and an action button, but it just does not appear on the notification.\r\n\r\n\r\n            var message = new gcm.Message();\r\n                  message.addData('message',contenu);\r\n\t\t\t\tmessage.addData('title',titre);\r\n\t\t\t\tmessage.addData(\"summaryText\", date);\r\n\t\t\t\tmessage.addData(\"style\", \"inbox\");\r\n\t\t\t\tmessage.addData(\"actions\", [\r\n\t\t\t                {\"title\": \"Send bell ?\", \"callback\": \"window.ouvreMessage\"},\r\n\t\t\t\t]);\r\n\t\t\t\tmessage.addData(\"ledColor\", [0, 0, 255, 0]);\r\n\t\t\t\tmessage.addData(\"vibrationPattern\", [1000, 1000, 200, 200, 200, 200]);\r\n\r\nTitle, text and VibrationPattern works.\r\nThks"},"comment":{"url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/issues/comments/232280254","html_url":"https://github.com/phonegap/phonegap-plugin-push/issues/518#issuecomment-232280254","issue_url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/issues/518","id":232280254,"user":{"login":"mvyatageri","id":19622682,"avatar_url":"https://avatars.githubusercontent.com/u/19622682?v=3","gravatar_id":"","url":"https://api.github.com/users/mvyatageri","html_url":"https://github.com/mvyatageri","followers_url":"https://api.github.com/users/mvyatageri/followers","following_url":"https://api.github.com/users/mvyatageri/following{/other_user}","gists_url":"https://api.github.com/users/mvyatageri/gists{/gist_id}","starred_url":"https://api.github.com/users/mvyatageri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mvyatageri/subscriptions","organizations_url":"https://api.github.com/users/mvyatageri/orgs","repos_url":"https://api.github.com/users/mvyatageri/repos","events_url":"https://api.github.com/users/mvyatageri/events{/privacy}","received_events_url":"https://api.github.com/users/mvyatageri/received_events","type":"User","site_admin":false},"created_at":"2016-07-13T07:42:17Z","updated_at":"2016-07-13T07:42:17Z","body":"Hi, i'm using android version 4.4 in that version inbox style not coming ...any updates ..plz let me know ASAP..my email - mvyatageri@gmail.com"}}
{"actor":{"display_login":"mvyatageri"}}