{"action":"created","issue":{"url":"https://api.github.com/repos/expo/expo/issues/3531","repository_url":"https://api.github.com/repos/expo/expo","labels_url":"https://api.github.com/repos/expo/expo/issues/3531/labels{/name}","comments_url":"https://api.github.com/repos/expo/expo/issues/3531/comments","events_url":"https://api.github.com/repos/expo/expo/issues/3531/events","html_url":"https://github.com/expo/expo/issues/3531","id":411577717,"node_id":"MDU6SXNzdWU0MTE1Nzc3MTc=","number":3531,"title":"Notificaitons data when app is closed","user":{"login":"mgiorgi-github","id":24822858,"node_id":"MDQ6VXNlcjI0ODIyODU4","avatar_url":"https://avatars3.githubusercontent.com/u/24822858?v=4","gravatar_id":"","url":"https://api.github.com/users/mgiorgi-github","html_url":"https://github.com/mgiorgi-github","followers_url":"https://api.github.com/users/mgiorgi-github/followers","following_url":"https://api.github.com/users/mgiorgi-github/following{/other_user}","gists_url":"https://api.github.com/users/mgiorgi-github/gists{/gist_id}","starred_url":"https://api.github.com/users/mgiorgi-github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgiorgi-github/subscriptions","organizations_url":"https://api.github.com/users/mgiorgi-github/orgs","repos_url":"https://api.github.com/users/mgiorgi-github/repos","events_url":"https://api.github.com/users/mgiorgi-github/events{/privacy}","received_events_url":"https://api.github.com/users/mgiorgi-github/received_events","type":"User","site_admin":false},"labels":[{"id":1207044879,"node_id":"MDU6TGFiZWwxMjA3MDQ0ODc5","url":"https://api.github.com/repos/expo/expo/labels/Notifications","name":"Notifications","color":"41C1C1","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2019-02-18T17:19:13Z","updated_at":"2019-02-28T22:46:20Z","closed_at":null,"author_association":"NONE","body":"\r\n### Environment\r\nExpo SDK 32 on Mac 10.13.6\r\n\r\n### Steps to Reproduce\r\nClose the app and send push notification with data param\r\n\r\n### Expected Behavior\r\nThe app read the data param\r\n\r\n### Actual Behavior\r\nWhen the app is foreground or background the app receive the data param but if it is closed the app opens but does not do anything\r\n\r\n------------------------------------------------------------\r\n\r\nWhen the app is foreground or background the listener on componentDidMount is triggered because the view is mounted… but if app is closed where i can read the data? The view is mounted after receive notification and the listener is not called, i’ve tried to use props.exp.notification on root component but there is no “notification” prop after open app by notification tap…\r\n"},"comment":{"url":"https://api.github.com/repos/expo/expo/issues/comments/468469825","html_url":"https://github.com/expo/expo/issues/3531#issuecomment-468469825","issue_url":"https://api.github.com/repos/expo/expo/issues/3531","id":468469825,"node_id":"MDEyOklzc3VlQ29tbWVudDQ2ODQ2OTgyNQ==","user":{"login":"AdamJNavarro","id":8992878,"node_id":"MDQ6VXNlcjg5OTI4Nzg=","avatar_url":"https://avatars0.githubusercontent.com/u/8992878?v=4","gravatar_id":"","url":"https://api.github.com/users/AdamJNavarro","html_url":"https://github.com/AdamJNavarro","followers_url":"https://api.github.com/users/AdamJNavarro/followers","following_url":"https://api.github.com/users/AdamJNavarro/following{/other_user}","gists_url":"https://api.github.com/users/AdamJNavarro/gists{/gist_id}","starred_url":"https://api.github.com/users/AdamJNavarro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdamJNavarro/subscriptions","organizations_url":"https://api.github.com/users/AdamJNavarro/orgs","repos_url":"https://api.github.com/users/AdamJNavarro/repos","events_url":"https://api.github.com/users/AdamJNavarro/events{/privacy}","received_events_url":"https://api.github.com/users/AdamJNavarro/received_events","type":"User","site_admin":false},"created_at":"2019-02-28T22:46:20Z","updated_at":"2019-02-28T22:46:20Z","author_association":"CONTRIBUTOR","body":"Hey @mgiorgi-github,\r\n\r\nMy apologies for the delay. Didn't realize this was actually a standalone issue. Is this occurring on both platforms for you or just iOS as @nebmesemaou indicates?\r\n\r\nAll the best,\r\n\r\nAdam"}}
{"actor":{"display_login":"AdamJNavarro"}}