{"action":"closed","issue":{"url":"https://api.github.com/repos/aakashns/react-native-dialogs/issues/57","repository_url":"https://api.github.com/repos/aakashns/react-native-dialogs","labels_url":"https://api.github.com/repos/aakashns/react-native-dialogs/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/aakashns/react-native-dialogs/issues/57/comments","events_url":"https://api.github.com/repos/aakashns/react-native-dialogs/issues/57/events","html_url":"https://github.com/aakashns/react-native-dialogs/issues/57","id":214920525,"node_id":"MDU6SXNzdWUyMTQ5MjA1MjU=","number":57,"title":"Illegal callback invocation from native module error","user":{"login":"varungupta85","id":7475133,"node_id":"MDQ6VXNlcjc0NzUxMzM=","avatar_url":"https://avatars1.githubusercontent.com/u/7475133?v=4","gravatar_id":"","url":"https://api.github.com/users/varungupta85","html_url":"https://github.com/varungupta85","followers_url":"https://api.github.com/users/varungupta85/followers","following_url":"https://api.github.com/users/varungupta85/following{/other_user}","gists_url":"https://api.github.com/users/varungupta85/gists{/gist_id}","starred_url":"https://api.github.com/users/varungupta85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/varungupta85/subscriptions","organizations_url":"https://api.github.com/users/varungupta85/orgs","repos_url":"https://api.github.com/users/varungupta85/repos","events_url":"https://api.github.com/users/varungupta85/events{/privacy}","received_events_url":"https://api.github.com/users/varungupta85/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-03-17T06:42:52Z","updated_at":"2018-08-02T15:55:25Z","closed_at":"2018-08-02T15:55:25Z","author_association":"NONE","body":"I am observing the below error which leads to a crash in the app.\r\n\r\n![screen shot 2017-03-17 at 12 05 44 pm](https://cloud.githubusercontent.com/assets/7475133/24031754/5ec58602-0b0a-11e7-95ed-8b2bb696cf21.png)\r\n\r\nBelow is the excerpt from code where the error is happening\r\n\r\n```java\r\nif (options.hasKey(\"cancelListener\")) {\r\n            mBuilder.cancelListener(new DialogInterface.OnCancelListener() {\r\n                @Override\r\n                public void onCancel(DialogInterface dialog) {\r\n                    callback.invoke(\"cancelListener\");\r\n                }\r\n            });\r\n        }\r\n```\r\n\r\nThis error is occurring when a dialog box is shown on the app and the user presses the home screen and then go back into the app after some time and try to click on any of the options in the dialog box."}}
{"actor":{"display_login":"varungupta85"}}