{"action":"created","issue":{"url":"https://api.github.com/repos/zo0r/react-native-push-notification/issues/413","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/413/labels{/name}","comments_url":"https://api.github.com/repos/zo0r/react-native-push-notification/issues/413/comments","events_url":"https://api.github.com/repos/zo0r/react-native-push-notification/issues/413/events","html_url":"https://github.com/zo0r/react-native-push-notification/issues/413","id":222626560,"number":413,"title":"onNotification method can't trig","user":{"login":"ronniesir","id":3816871,"avatar_url":"https://avatars1.githubusercontent.com/u/3816871?v=4","gravatar_id":"","url":"https://api.github.com/users/ronniesir","html_url":"https://github.com/ronniesir","followers_url":"https://api.github.com/users/ronniesir/followers","following_url":"https://api.github.com/users/ronniesir/following{/other_user}","gists_url":"https://api.github.com/users/ronniesir/gists{/gist_id}","starred_url":"https://api.github.com/users/ronniesir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ronniesir/subscriptions","organizations_url":"https://api.github.com/users/ronniesir/orgs","repos_url":"https://api.github.com/users/ronniesir/repos","events_url":"https://api.github.com/users/ronniesir/events{/privacy}","received_events_url":"https://api.github.com/users/ronniesir/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-04-19T05:50:38Z","updated_at":"2018-04-27T09:08:46Z","closed_at":null,"author_association":"NONE","body":"PushNotification.localNotification({\r\n                /* Android Only Properties */\r\n                id: '0', // (optional) Valid unique 32 bit integer specified as string. default: Autogenerated Unique ID\r\n                autoCancel: true, // (optional) default: true\r\n\r\n                /* iOS and Android properties */\r\n                title: notificationTitle,\r\n                message: notificationText, // (required)\r\n                actions: '[\"check\"]',  // (Android only) See the doc for notification actions to know more\r\n                data: data,\r\n            });\r\n  PushNotification.configure({\r\n\r\n        // (optional) Called when Token is generated (iOS and Android)\r\n        onRegister: function (token) {\r\n            alert('TOKEN:', token);\r\n        },\r\n\r\n        // (required) Called when a remote or local notification is opened or received\r\n        onNotification: function (notification) {\r\n            alert(11)\r\n        },\r\n\r\n        // ANDROID ONLY: GCM Sender ID (optional - not required for local notifications, but is need to receive remote push notifications)\r\n        senderID: \"YOUR GCM SENDER ID\",\r\n\r\n        permissions: {\r\n            alert: true,\r\n            badge: true,\r\n            sound: true\r\n        },\r\n        popInitialNotification: false,\r\n\r\n        /**\r\n         * (optional) default: true\r\n         * - Specified if permissions (ios) and token (android and ios) will requested or not,\r\n         * - if not, you must call PushNotificationsHandler.requestPermissions() later\r\n         */\r\n        requestPermissions: true,\r\n    });"},"comment":{"url":"https://api.github.com/repos/zo0r/react-native-push-notification/issues/comments/384912681","html_url":"https://github.com/zo0r/react-native-push-notification/issues/413#issuecomment-384912681","issue_url":"https://api.github.com/repos/zo0r/react-native-push-notification/issues/413","id":384912681,"user":{"login":"karlmosenbacher","id":34436446,"avatar_url":"https://avatars3.githubusercontent.com/u/34436446?v=4","gravatar_id":"","url":"https://api.github.com/users/karlmosenbacher","html_url":"https://github.com/karlmosenbacher","followers_url":"https://api.github.com/users/karlmosenbacher/followers","following_url":"https://api.github.com/users/karlmosenbacher/following{/other_user}","gists_url":"https://api.github.com/users/karlmosenbacher/gists{/gist_id}","starred_url":"https://api.github.com/users/karlmosenbacher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karlmosenbacher/subscriptions","organizations_url":"https://api.github.com/users/karlmosenbacher/orgs","repos_url":"https://api.github.com/users/karlmosenbacher/repos","events_url":"https://api.github.com/users/karlmosenbacher/events{/privacy}","received_events_url":"https://api.github.com/users/karlmosenbacher/received_events","type":"User","site_admin":false},"created_at":"2018-04-27T09:08:46Z","updated_at":"2018-04-27T09:08:46Z","author_association":"NONE","body":"@lulzimfazlija have you solved it?"}}
{"actor":{"display_login":"karlmosenbacher"}}