{"action":"created","issue":{"url":"https://api.github.com/repos/ToothlessGear/node-gcm/issues/180","labels_url":"https://api.github.com/repos/ToothlessGear/node-gcm/issues/180/labels{/name}","comments_url":"https://api.github.com/repos/ToothlessGear/node-gcm/issues/180/comments","events_url":"https://api.github.com/repos/ToothlessGear/node-gcm/issues/180/events","html_url":"https://github.com/ToothlessGear/node-gcm/issues/180","id":117841696,"number":180,"title":"Notification not coming in notification Area","user":{"login":"purnendu9","id":1392037,"avatar_url":"https://avatars.githubusercontent.com/u/1392037?v=3","gravatar_id":"","url":"https://api.github.com/users/purnendu9","html_url":"https://github.com/purnendu9","followers_url":"https://api.github.com/users/purnendu9/followers","following_url":"https://api.github.com/users/purnendu9/following{/other_user}","gists_url":"https://api.github.com/users/purnendu9/gists{/gist_id}","starred_url":"https://api.github.com/users/purnendu9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/purnendu9/subscriptions","organizations_url":"https://api.github.com/users/purnendu9/orgs","repos_url":"https://api.github.com/users/purnendu9/repos","events_url":"https://api.github.com/users/purnendu9/events{/privacy}","received_events_url":"https://api.github.com/users/purnendu9/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-19T15:46:03Z","updated_at":"2015-11-19T16:35:25Z","closed_at":"2015-11-19T16:35:25Z","body":"Hi,\r\n   I am trying to send messages. The messages are getting sent to the app. However the messages are not appearing in the notification area on top drawer.\r\n\r\nThe message object that gets sent is as below\r\n{\"collapseKey\":\"Updates Avaliable\",\"priority\":\"high\",\r\n\"contentAvailable\":true,\r\n\"delayWhileIdle\":true,\r\n\"restrictedPackageName\":\"XXXXXXXXXX\",\r\n\"data\":{\r\n\"key1\":\"message1\",\"key2\":\"message2\",\"eventName\":\"ar\",\"message\":\"Test Is this coming\",\"route\":\"XX\"\r\n},\r\n\"notification\":{\"title\":\"Hello from XX\",\"icon\":\"mrkr1.png\",\"body\":\"There is a New Appointment from My Best Guest\"}\r\n}\r\n\r\nWhen it reaches the client i see this object received is as below\r\n\r\n{\"title\":\"Hello from XXX\",\"message\":\"Test Is this coming\",\"additionalData\":{\"e\":\"1\",\"icon\":\"mrkr1.png\",\"key1\":\"message1\",\"key2\":\"message2\",\"eventName\":\"ar\",\"route\":\"XX\",\"collapse_key\":\"XXXX\",\"foreground\":true}}\r\n\r\nResearched at lot of places as to how to get the event appear in notification Area as well. Documentation does not say musch about it also"},"comment":{"url":"https://api.github.com/repos/ToothlessGear/node-gcm/issues/comments/158111186","html_url":"https://github.com/ToothlessGear/node-gcm/issues/180#issuecomment-158111186","issue_url":"https://api.github.com/repos/ToothlessGear/node-gcm/issues/180","id":158111186,"user":{"login":"hypesystem","id":859106,"avatar_url":"https://avatars.githubusercontent.com/u/859106?v=3","gravatar_id":"","url":"https://api.github.com/users/hypesystem","html_url":"https://github.com/hypesystem","followers_url":"https://api.github.com/users/hypesystem/followers","following_url":"https://api.github.com/users/hypesystem/following{/other_user}","gists_url":"https://api.github.com/users/hypesystem/gists{/gist_id}","starred_url":"https://api.github.com/users/hypesystem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hypesystem/subscriptions","organizations_url":"https://api.github.com/users/hypesystem/orgs","repos_url":"https://api.github.com/users/hypesystem/repos","events_url":"https://api.github.com/users/hypesystem/events{/privacy}","received_events_url":"https://api.github.com/users/hypesystem/received_events","type":"User","site_admin":false},"created_at":"2015-11-19T16:35:25Z","updated_at":"2015-11-19T16:35:25Z","body":"There have been issues with PhoneGap not supporting the `notifications` field previously. You should probably manually create the notification client-side based on the payload in `data`.\r\n\r\nThis is a PhoneGap issue so I am closing it."}}