{"action":"created","issue":{"url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase/issues/628","repository_url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase","labels_url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase/issues/628/labels{/name}","comments_url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase/issues/628/comments","events_url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase/issues/628/events","html_url":"https://github.com/arnesson/cordova-plugin-firebase/issues/628","id":310561920,"number":628,"title":"iOS - Notifications clicked from notification drawer are identical to foreground notifications","user":{"login":"skdavies","id":5652309,"avatar_url":"https://avatars0.githubusercontent.com/u/5652309?v=4","gravatar_id":"","url":"https://api.github.com/users/skdavies","html_url":"https://github.com/skdavies","followers_url":"https://api.github.com/users/skdavies/followers","following_url":"https://api.github.com/users/skdavies/following{/other_user}","gists_url":"https://api.github.com/users/skdavies/gists{/gist_id}","starred_url":"https://api.github.com/users/skdavies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skdavies/subscriptions","organizations_url":"https://api.github.com/users/skdavies/orgs","repos_url":"https://api.github.com/users/skdavies/repos","events_url":"https://api.github.com/users/skdavies/events{/privacy}","received_events_url":"https://api.github.com/users/skdavies/received_events","type":"User","site_admin":false},"labels":[{"id":391682358,"url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase/labels/bug","name":"bug","color":"ee0701","default":true},{"id":920642399,"url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase/labels/iOS","name":"iOS","color":"c2e0c6","default":false},{"id":920639030,"url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase/labels/notifications","name":"notifications","color":"f9d0c4","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-02T18:17:43Z","updated_at":"2018-05-10T06:51:48Z","closed_at":"2018-05-10T06:51:48Z","author_association":"NONE","body":"This whole issue relates to iOS. There are two situations that produce identical data but should be handled separately. When the user has the app open and a new notification comes through, it is not shown (as expected). However, when a user has the app open and opens the notification drawer in the foreground and clicks a notification, nothing happens (not expected). This is because the notifications in these two cases are identical. Both notifications, when returned from the plugin have the \"tap\" boolean as false. This makes it impossible to handle these situations differently. I would think that a user clicking a notification from the notification drawer (even with the app open) would have a tap value of true (which it does when the app isn't open)."},"comment":{"url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase/issues/comments/387968654","html_url":"https://github.com/arnesson/cordova-plugin-firebase/issues/628#issuecomment-387968654","issue_url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase/issues/628","id":387968654,"user":{"login":"soumak77","id":10901035,"avatar_url":"https://avatars1.githubusercontent.com/u/10901035?v=4","gravatar_id":"","url":"https://api.github.com/users/soumak77","html_url":"https://github.com/soumak77","followers_url":"https://api.github.com/users/soumak77/followers","following_url":"https://api.github.com/users/soumak77/following{/other_user}","gists_url":"https://api.github.com/users/soumak77/gists{/gist_id}","starred_url":"https://api.github.com/users/soumak77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soumak77/subscriptions","organizations_url":"https://api.github.com/users/soumak77/orgs","repos_url":"https://api.github.com/users/soumak77/repos","events_url":"https://api.github.com/users/soumak77/events{/privacy}","received_events_url":"https://api.github.com/users/soumak77/received_events","type":"User","site_admin":false},"created_at":"2018-05-10T06:51:48Z","updated_at":"2018-05-10T06:51:48Z","author_association":"COLLABORATOR","body":"fixed via https://github.com/arnesson/cordova-plugin-firebase/pull/680"}}
{"actor":{"display_login":"soumak77"}}