{"action":"created","issue":{"url":"https://api.github.com/repos/ToothlessGear/node-gcm/issues/335","repository_url":"https://api.github.com/repos/ToothlessGear/node-gcm","labels_url":"https://api.github.com/repos/ToothlessGear/node-gcm/issues/335/labels{/name}","comments_url":"https://api.github.com/repos/ToothlessGear/node-gcm/issues/335/comments","events_url":"https://api.github.com/repos/ToothlessGear/node-gcm/issues/335/events","html_url":"https://github.com/ToothlessGear/node-gcm/issues/335","id":545283953,"node_id":"MDU6SXNzdWU1NDUyODM5NTM=","number":335,"title":"Heads-up notifications are not working","user":{"login":"iamromec","id":50284628,"node_id":"MDQ6VXNlcjUwMjg0NjI4","avatar_url":"https://avatars3.githubusercontent.com/u/50284628?v=4","gravatar_id":"","url":"https://api.github.com/users/iamromec","html_url":"https://github.com/iamromec","followers_url":"https://api.github.com/users/iamromec/followers","following_url":"https://api.github.com/users/iamromec/following{/other_user}","gists_url":"https://api.github.com/users/iamromec/gists{/gist_id}","starred_url":"https://api.github.com/users/iamromec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamromec/subscriptions","organizations_url":"https://api.github.com/users/iamromec/orgs","repos_url":"https://api.github.com/users/iamromec/repos","events_url":"https://api.github.com/users/iamromec/events{/privacy}","received_events_url":"https://api.github.com/users/iamromec/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2020-01-04T13:15:14Z","updated_at":"2020-01-09T21:56:55Z","closed_at":"2020-01-04T22:56:40Z","author_association":"NONE","body":"I'm trying to send a notification with the highest priority but it's working like a normal notification. Anyone who's maintaining this plugin could look into the problem or if someone knows the solution.\r\n\r\n```\r\nmessage = new gcm.Message({\r\n          priority: 2,\r\n          contentAvailable: true,\r\n          data: data,\r\n          notification: {\r\n            title: '*****',\r\n            body: data.body,\r\n            icon: 'ic_stat_ic_notification',\r\n            color: '#0cd1e8',\r\n            vigrationPattern: [400, 200],\r\n            ledColor: [255, 0, 0, 1],\r\n            notId: parseInt(Math.random() * new Date().getSeconds(), 10)\r\n          }\r\n        });\r\n```\r\n\r\nNeither heads-up notification is coming nor Vibration nor LED.\r\n\r\nCould anyone please tell me what's wrong?\r\n\r\nThank you."},"comment":{"url":"https://api.github.com/repos/ToothlessGear/node-gcm/issues/comments/572774932","html_url":"https://github.com/ToothlessGear/node-gcm/issues/335#issuecomment-572774932","issue_url":"https://api.github.com/repos/ToothlessGear/node-gcm/issues/335","id":572774932,"node_id":"MDEyOklzc3VlQ29tbWVudDU3Mjc3NDkzMg==","user":{"login":"eladnava","id":4394189,"node_id":"MDQ6VXNlcjQzOTQxODk=","avatar_url":"https://avatars3.githubusercontent.com/u/4394189?v=4","gravatar_id":"","url":"https://api.github.com/users/eladnava","html_url":"https://github.com/eladnava","followers_url":"https://api.github.com/users/eladnava/followers","following_url":"https://api.github.com/users/eladnava/following{/other_user}","gists_url":"https://api.github.com/users/eladnava/gists{/gist_id}","starred_url":"https://api.github.com/users/eladnava/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eladnava/subscriptions","organizations_url":"https://api.github.com/users/eladnava/orgs","repos_url":"https://api.github.com/users/eladnava/repos","events_url":"https://api.github.com/users/eladnava/events{/privacy}","received_events_url":"https://api.github.com/users/eladnava/received_events","type":"User","site_admin":false},"created_at":"2020-01-09T21:56:55Z","updated_at":"2020-01-09T21:56:55Z","author_association":"COLLABORATOR","body":"One thing's for sure, `vigrationPattern` can't have been a real key as there's a typo in the word `vibration`."}}
{"actor":{"display_login":"eladnava"}}