{"action":"opened","issue":{"url":"https://api.github.com/repos/zo0r/react-native-push-notification/issues/957","repository_url":"https://api.github.com/repos/zo0r/react-native-push-notification","labels_url":"https://api.github.com/repos/zo0r/react-native-push-notification/issues/957/labels{/name}","comments_url":"https://api.github.com/repos/zo0r/react-native-push-notification/issues/957/comments","events_url":"https://api.github.com/repos/zo0r/react-native-push-notification/issues/957/events","html_url":"https://github.com/zo0r/react-native-push-notification/issues/957","id":387652066,"node_id":"MDU6SXNzdWUzODc2NTIwNjY=","number":957,"title":"Android local notification reinizialize app","user":{"login":"stoppiNeobiz","id":42768864,"node_id":"MDQ6VXNlcjQyNzY4ODY0","avatar_url":"https://avatars2.githubusercontent.com/u/42768864?v=4","gravatar_id":"","url":"https://api.github.com/users/stoppiNeobiz","html_url":"https://github.com/stoppiNeobiz","followers_url":"https://api.github.com/users/stoppiNeobiz/followers","following_url":"https://api.github.com/users/stoppiNeobiz/following{/other_user}","gists_url":"https://api.github.com/users/stoppiNeobiz/gists{/gist_id}","starred_url":"https://api.github.com/users/stoppiNeobiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stoppiNeobiz/subscriptions","organizations_url":"https://api.github.com/users/stoppiNeobiz/orgs","repos_url":"https://api.github.com/users/stoppiNeobiz/repos","events_url":"https://api.github.com/users/stoppiNeobiz/events{/privacy}","received_events_url":"https://api.github.com/users/stoppiNeobiz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-05T08:53:28Z","updated_at":"2018-12-05T08:53:28Z","closed_at":null,"author_association":"NONE","body":"Hi to all, I would have a question about android local notifications. In my app send a notification when a timer arrive at 0. If the notification box appear while app is open and I click it, the app return to home page. If I click the box while app is in background, reopen the same page correctly. \r\nWhy this happens? \r\nThanks.\r\nThis is my simple code:\r\n```\r\nsendNotification = () => {\r\n        PushNotification.localNotificationSchedule({\r\n            date: new Date(Date.now() + (this.state.timer * 1000)),\r\n            title: this.state.notificationTitle,\r\n            message: this.state.notificationMessage,\r\n        });\r\n}\r\n```"}}
{"actor":{"display_login":"stoppiNeobiz"}}