{"action":"created","issue":{"url":"https://api.github.com/repos/status-im/status-react/issues/3269","repository_url":"https://api.github.com/repos/status-im/status-react","labels_url":"https://api.github.com/repos/status-im/status-react/issues/3269/labels{/name}","comments_url":"https://api.github.com/repos/status-im/status-react/issues/3269/comments","events_url":"https://api.github.com/repos/status-im/status-react/issues/3269/events","html_url":"https://github.com/status-im/status-react/issues/3269","id":295578761,"number":3269,"title":"Replace \"Ping\" with \"You have a new message\" in push notification ","user":{"login":"annadanchenko","id":6584810,"avatar_url":"https://avatars0.githubusercontent.com/u/6584810?v=4","gravatar_id":"","url":"https://api.github.com/users/annadanchenko","html_url":"https://github.com/annadanchenko","followers_url":"https://api.github.com/users/annadanchenko/followers","following_url":"https://api.github.com/users/annadanchenko/following{/other_user}","gists_url":"https://api.github.com/users/annadanchenko/gists{/gist_id}","starred_url":"https://api.github.com/users/annadanchenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annadanchenko/subscriptions","organizations_url":"https://api.github.com/users/annadanchenko/orgs","repos_url":"https://api.github.com/users/annadanchenko/repos","events_url":"https://api.github.com/users/annadanchenko/events{/privacy}","received_events_url":"https://api.github.com/users/annadanchenko/received_events","type":"User","site_admin":false},"labels":[{"id":330296931,"url":"https://api.github.com/repos/status-im/status-react/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-08T16:30:39Z","updated_at":"2018-02-09T10:50:22Z","closed_at":null,"author_association":"MEMBER","body":"\r\n### Description\r\n\r\n[comment]: # (Feature or Bug? i.e Type: Bug)\r\n*Type*: Bug\r\n\r\n[comment]: # (Describe the feature you would like, or briefly summarise the bug and what you did, what you expected to happen, and what actually happens. Sections below)\r\n*Summary*: \"Ping\" is shown in the text of the push notification when user gets new message and Status app is not run on foreground. It's confusing as user expects to see some text \"ping\" in the messages. As we don't want to reveal message text on the notification popup, we can be more explicit and say \"You have a new message\" \r\n\r\n#### Expected behavior\r\n[comment]: # (Describe what you expected to happen.)\r\nNo header because there is already an app icon and app name on the top of notification\r\nNotification text is \"You have a new message\"\r\n#### Actual behavior\r\n[comment]: # (Describe what actually happened.)\r\nNotification header: \"Status - new message\"\r\nNotification text is \"ping\"\r\n\r\niOS:\r\n![54663](https://user-images.githubusercontent.com/6584810/35983291-0506fd86-0cf2-11e8-89a0-4175de549579.jpg)\r\n\r\nAndroid:\r\n![screenshot_20180208-170608](https://user-images.githubusercontent.com/6584810/35983607-a28b8234-0cf2-11e8-8a9c-9eab83c8b6ef.png)\r\n\r\n\r\n### Reproduction\r\n[comment]: # (Describe how we can replicate the bug step by step.)\r\n\r\n- As A: Open Status\r\n- As A: Send some text in 1:1 chat to the contact B that has Status installed but it's closed now\r\n- As B: Check notification text shown\r\n\r\n\r\n### Additional Information\r\n[comment]: # (Please do your best to fill this out.)\r\n* Status version: 0.9.13\r\n* Operating System: Android and iOS\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/status-im/status-react/issues/comments/364401161","html_url":"https://github.com/status-im/status-react/issues/3269#issuecomment-364401161","issue_url":"https://api.github.com/repos/status-im/status-react/issues/3269","id":364401161,"user":{"login":"adambabik","id":277870,"avatar_url":"https://avatars1.githubusercontent.com/u/277870?v=4","gravatar_id":"","url":"https://api.github.com/users/adambabik","html_url":"https://github.com/adambabik","followers_url":"https://api.github.com/users/adambabik/followers","following_url":"https://api.github.com/users/adambabik/following{/other_user}","gists_url":"https://api.github.com/users/adambabik/gists{/gist_id}","starred_url":"https://api.github.com/users/adambabik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adambabik/subscriptions","organizations_url":"https://api.github.com/users/adambabik/orgs","repos_url":"https://api.github.com/users/adambabik/repos","events_url":"https://api.github.com/users/adambabik/events{/privacy}","received_events_url":"https://api.github.com/users/adambabik/received_events","type":"User","site_admin":false},"created_at":"2018-02-09T10:50:22Z","updated_at":"2018-02-09T10:50:22Z","author_association":"MEMBER","body":"At least on iOS, you can decide if the notification message is displayed immediately or only after you unlock the phone. Maybe we can at least provide who is the author of the message?"}}
{"actor":{"display_login":"adambabik"}}