{"action":"created","issue":{"url":"https://api.github.com/repos/signalpoint/push_notifications/issues/5","repository_url":"https://api.github.com/repos/signalpoint/push_notifications","labels_url":"https://api.github.com/repos/signalpoint/push_notifications/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/signalpoint/push_notifications/issues/5/comments","events_url":"https://api.github.com/repos/signalpoint/push_notifications/issues/5/events","html_url":"https://github.com/signalpoint/push_notifications/issues/5","id":52234278,"number":5,"title":"Push notification retrieve message data","user":{"login":"kiss-jozsef","id":9963783,"avatar_url":"https://avatars.githubusercontent.com/u/9963783?v=3","gravatar_id":"","url":"https://api.github.com/users/kiss-jozsef","html_url":"https://github.com/kiss-jozsef","followers_url":"https://api.github.com/users/kiss-jozsef/followers","following_url":"https://api.github.com/users/kiss-jozsef/following{/other_user}","gists_url":"https://api.github.com/users/kiss-jozsef/gists{/gist_id}","starred_url":"https://api.github.com/users/kiss-jozsef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiss-jozsef/subscriptions","organizations_url":"https://api.github.com/users/kiss-jozsef/orgs","repos_url":"https://api.github.com/users/kiss-jozsef/repos","events_url":"https://api.github.com/users/kiss-jozsef/events{/privacy}","received_events_url":"https://api.github.com/users/kiss-jozsef/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2014-12-17T12:27:20Z","updated_at":"2016-07-29T21:24:09Z","closed_at":null,"body":"There is the possibility to pass parameters in the notification but in the onNotificationGCM() function the 'message' case does nothing can we retrieve the passed data in some other way? (if not i would suggest adding localStorage.setItem('push_notifications_message', JSON.stringify(e)); or something similar).\r\n\r\nThe other issues is that you can retrieve the message only if you are logged in , but on every login/logout the device token gets deleted and a new one is made is there a reason for this?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/signalpoint/push_notifications/issues/comments/236297306","html_url":"https://github.com/signalpoint/push_notifications/issues/5#issuecomment-236297306","issue_url":"https://api.github.com/repos/signalpoint/push_notifications/issues/5","id":236297306,"user":{"login":"signalpoint","id":671140,"avatar_url":"https://avatars.githubusercontent.com/u/671140?v=3","gravatar_id":"","url":"https://api.github.com/users/signalpoint","html_url":"https://github.com/signalpoint","followers_url":"https://api.github.com/users/signalpoint/followers","following_url":"https://api.github.com/users/signalpoint/following{/other_user}","gists_url":"https://api.github.com/users/signalpoint/gists{/gist_id}","starred_url":"https://api.github.com/users/signalpoint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/signalpoint/subscriptions","organizations_url":"https://api.github.com/users/signalpoint/orgs","repos_url":"https://api.github.com/users/signalpoint/repos","events_url":"https://api.github.com/users/signalpoint/events{/privacy}","received_events_url":"https://api.github.com/users/signalpoint/received_events","type":"User","site_admin":false},"created_at":"2016-07-29T21:24:09Z","updated_at":"2016-07-29T21:24:09Z","body":"The module has since been expanded and well documented. Retrieving the message data and custom payloads is now covered in the README."}}
{"actor":{"display_login":"signalpoint"}}