{"action":"created","issue":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/5060","repository_url":"https://api.github.com/repos/RocketChat/Rocket.Chat","labels_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/5060/labels{/name}","comments_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/5060/comments","events_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/5060/events","html_url":"https://github.com/RocketChat/Rocket.Chat/issues/5060","id":192259472,"number":5060,"title":"Android Push Notification issues","user":{"login":"jsaddiction","id":4644849,"avatar_url":"https://avatars.githubusercontent.com/u/4644849?v=3","gravatar_id":"","url":"https://api.github.com/users/jsaddiction","html_url":"https://github.com/jsaddiction","followers_url":"https://api.github.com/users/jsaddiction/followers","following_url":"https://api.github.com/users/jsaddiction/following{/other_user}","gists_url":"https://api.github.com/users/jsaddiction/gists{/gist_id}","starred_url":"https://api.github.com/users/jsaddiction/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsaddiction/subscriptions","organizations_url":"https://api.github.com/users/jsaddiction/orgs","repos_url":"https://api.github.com/users/jsaddiction/repos","events_url":"https://api.github.com/users/jsaddiction/events{/privacy}","received_events_url":"https://api.github.com/users/jsaddiction/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-11-29T11:42:07Z","updated_at":"2016-11-29T16:01:12Z","closed_at":null,"body":"Rocket.Chat version: 0.46.0 (docker container running on synology raid)\r\n\r\nThere seems to be lots of folks with issues on notifications.  I have been following and re-reading all of the posts about getting push notifications to work, so first I would like to apologize if any of my questions have been answered before but the solutions have not worked for me thus far.\r\n\r\nFirstly, my setup, I am using the latest docker image listed above on my Synology Raid.  On the client side I am using the publicly available android play store version of rocket.chat.  I am connecting to it through a reverse proxy over https with websockets functioning properly.  The \"push\" settings are as follows:\r\n\r\nEnable: true\r\nDebug: true\r\nEnable Gateway: false\r\nProduction: false\r\nGCM API key: *filled in*\r\nGCM Project number: *filled in*\r\n\r\nWith this configuration pressing the \"test push notification\" button yields this result.\r\n\r\npopup notification in the web app stating the test message was succsessfully sent to 1 android app\r\n\r\nLOG: ANDROID: Result of sender: {\"multicast_id\":****removed********,\"success\":0,\"failure\":1,\"canonical_ids\":0,\"results\":[{\"error\":\"MismatchSenderId\"}]}\r\n\r\nno push notification noted at the device\r\n\r\nno activity noted on google api dashboard for the project\r\n\r\nAm I doing something wrong here?"},"comment":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/comments/263611865","html_url":"https://github.com/RocketChat/Rocket.Chat/issues/5060#issuecomment-263611865","issue_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/5060","id":263611865,"user":{"login":"jsaddiction","id":4644849,"avatar_url":"https://avatars.githubusercontent.com/u/4644849?v=3","gravatar_id":"","url":"https://api.github.com/users/jsaddiction","html_url":"https://github.com/jsaddiction","followers_url":"https://api.github.com/users/jsaddiction/followers","following_url":"https://api.github.com/users/jsaddiction/following{/other_user}","gists_url":"https://api.github.com/users/jsaddiction/gists{/gist_id}","starred_url":"https://api.github.com/users/jsaddiction/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsaddiction/subscriptions","organizations_url":"https://api.github.com/users/jsaddiction/orgs","repos_url":"https://api.github.com/users/jsaddiction/repos","events_url":"https://api.github.com/users/jsaddiction/events{/privacy}","received_events_url":"https://api.github.com/users/jsaddiction/received_events","type":"User","site_admin":false},"created_at":"2016-11-29T16:01:12Z","updated_at":"2016-11-29T16:01:12Z","body":"Completely understand about the security flaw and throwing your car keys to a friend in a public space.  I suppose my question is then this..  Following the direction provided in the docs leaves me with broken push notifications.  How can I implement these notifications over android?  With my current setup I assume using the gateway will never work since my users data doesn't reside on that server. (always returns \"no tokens for user\") is there a tutorial or something similar I can follow to get this going??  I would be willing to update the \"How to\" if I myself knew."}}
{"actor":{"display_login":"jsaddiction"}}